comparison src/emacs-widget-accessors.c @ 563:183866b06e0b

[xemacs-hg @ 2001-05-24 07:50:48 by ben] Makefile.in.in, abbrev.c, alloc.c, buffer.c, bytecode.c, callint.c, callproc.c, casetab.c, chartab.c, cmdloop.c, cmds.c, console-msw.c, console-msw.h, console-stream.c, console-tty.c, console-x.c, console.c, data.c, database.c, debug.c, device-gtk.c, device-msw.c, device-tty.c, device-x.c, device.c, dialog-gtk.c, dialog-msw.c, dialog-x.c, dialog.c, dired-msw.c, dired.c, doc.c, doprnt.c, dragdrop.c, editfns.c, eldap.c, eldap.h, elhash.c, emacs-widget-accessors.c, emacs.c, emodules.c, esd.c, eval.c, event-Xt.c, event-gtk.c, event-msw.c, event-stream.c, events.c, extents.c, faces.c, file-coding.c, fileio.c, filelock.c, floatfns.c, fns.c, font-lock.c, frame-gtk.c, frame-x.c, frame.c, general-slots.h, glade.c, glyphs-gtk.c, glyphs-msw.c, glyphs-widget.c, glyphs-x.c, glyphs.c, glyphs.h, gpmevent.c, gui-gtk.c, gui-x.c, gui.c, gutter.c, hpplay.c, indent.c, input-method-xlib.c, insdel.c, intl.c, keymap.c, libsst.c, libsst.h, linuxplay.c, lisp.h, lread.c, lstream.c, lstream.h, macros.c, marker.c, md5.c, menubar-gtk.c, menubar-msw.c, menubar-x.c, menubar.c, minibuf.c, miscplay.c, miscplay.h, mule-ccl.c, mule-charset.c, mule-wnnfns.c, mule.c, nas.c, ntplay.c, ntproc.c, objects-gtk.c, objects-msw.c, objects-x.c, objects.c, postgresql.c, print.c, process-nt.c, process-unix.c, process.c, ralloc.c, rangetab.c, redisplay.c, scrollbar.c, search.c, select-gtk.c, select-x.c, select.c, sgiplay.c, sheap.c, sound.c, specifier.c, sunplay.c, symbols.c, symeval.h, symsinit.h, syntax.c, sysdep.c, toolbar-msw.c, toolbar.c, tooltalk.c, ui-byhand.c, ui-gtk.c, undo.c, unexaix.c, unexapollo.c, unexconvex.c, unexec.c, widget.c, win32.c, window.c: -- defsymbol -> DEFSYMBOL. -- add an error type to all errors. -- eliminate the error functions in eval.c that let you just use Qerror as the type. -- redo the error API to be more consistent, sensibly named, and easier to use. -- redo the error hierarchy somewhat. create new errors: structure-formation-error, gui-error, invalid-constant, stack-overflow, out-of-memory, process-error, network-error, sound-error, printing-unreadable-object, base64-conversion- error; coding-system-error renamed to text-conversion error; some others. -- fix Mule problems in error strings in emodules.c, tooltalk.c. -- fix error handling in mswin open-network-stream. -- Mule-ize all sound files and clean up the headers. -- nativesound.h -> sound.h and used for all sound files. -- move some shared stuff into glyphs-shared.c: first attempt at eliminating some of the massive GTK code duplication. xemacs.mak: add glyphs-shared.c. xemacs-faq.texi: document how to debug X errors subr.el: fix doc string to reflect reality
author ben
date Thu, 24 May 2001 07:51:33 +0000
parents 0784d089fdc9
children 37fe04af1590
comparison
equal deleted inserted replaced
562:c775bd016b32 563:183866b06e0b
8 8
9 CHECK_GTK_OBJECT (obj); 9 CHECK_GTK_OBJECT (obj);
10 10
11 if (!GTK_IS_ADJUSTMENT (XGTK_OBJECT (obj)->object)) 11 if (!GTK_IS_ADJUSTMENT (XGTK_OBJECT (obj)->object))
12 { 12 {
13 signal_simple_error ("Object is not a GtkAdjustment", obj); 13 wtaerror ("Object is not a GtkAdjustment", obj);
14 }; 14 };
15 15
16 the_obj = GTK_ADJUSTMENT (XGTK_OBJECT (obj)->object); 16 the_obj = GTK_ADJUSTMENT (XGTK_OBJECT (obj)->object);
17 arg.type = gtk_type_from_name ("gfloat"); 17 arg.type = gtk_type_from_name ("gfloat");
18 GTK_VALUE_FLOAT (arg) = the_obj->lower; 18 GTK_VALUE_FLOAT (arg) = the_obj->lower;
29 29
30 CHECK_GTK_OBJECT (obj); 30 CHECK_GTK_OBJECT (obj);
31 31
32 if (!GTK_IS_ADJUSTMENT (XGTK_OBJECT (obj)->object)) 32 if (!GTK_IS_ADJUSTMENT (XGTK_OBJECT (obj)->object))
33 { 33 {
34 signal_simple_error ("Object is not a GtkAdjustment", obj); 34 wtaerror ("Object is not a GtkAdjustment", obj);
35 }; 35 };
36 36
37 the_obj = GTK_ADJUSTMENT (XGTK_OBJECT (obj)->object); 37 the_obj = GTK_ADJUSTMENT (XGTK_OBJECT (obj)->object);
38 arg.type = gtk_type_from_name ("gfloat"); 38 arg.type = gtk_type_from_name ("gfloat");
39 GTK_VALUE_FLOAT (arg) = the_obj->upper; 39 GTK_VALUE_FLOAT (arg) = the_obj->upper;
50 50
51 CHECK_GTK_OBJECT (obj); 51 CHECK_GTK_OBJECT (obj);
52 52
53 if (!GTK_IS_ADJUSTMENT (XGTK_OBJECT (obj)->object)) 53 if (!GTK_IS_ADJUSTMENT (XGTK_OBJECT (obj)->object))
54 { 54 {
55 signal_simple_error ("Object is not a GtkAdjustment", obj); 55 wtaerror ("Object is not a GtkAdjustment", obj);
56 }; 56 };
57 57
58 the_obj = GTK_ADJUSTMENT (XGTK_OBJECT (obj)->object); 58 the_obj = GTK_ADJUSTMENT (XGTK_OBJECT (obj)->object);
59 arg.type = gtk_type_from_name ("gfloat"); 59 arg.type = gtk_type_from_name ("gfloat");
60 GTK_VALUE_FLOAT (arg) = the_obj->value; 60 GTK_VALUE_FLOAT (arg) = the_obj->value;
71 71
72 CHECK_GTK_OBJECT (obj); 72 CHECK_GTK_OBJECT (obj);
73 73
74 if (!GTK_IS_ADJUSTMENT (XGTK_OBJECT (obj)->object)) 74 if (!GTK_IS_ADJUSTMENT (XGTK_OBJECT (obj)->object))
75 { 75 {
76 signal_simple_error ("Object is not a GtkAdjustment", obj); 76 wtaerror ("Object is not a GtkAdjustment", obj);
77 }; 77 };
78 78
79 the_obj = GTK_ADJUSTMENT (XGTK_OBJECT (obj)->object); 79 the_obj = GTK_ADJUSTMENT (XGTK_OBJECT (obj)->object);
80 arg.type = gtk_type_from_name ("gfloat"); 80 arg.type = gtk_type_from_name ("gfloat");
81 GTK_VALUE_FLOAT (arg) = the_obj->step_increment; 81 GTK_VALUE_FLOAT (arg) = the_obj->step_increment;
92 92
93 CHECK_GTK_OBJECT (obj); 93 CHECK_GTK_OBJECT (obj);
94 94
95 if (!GTK_IS_ADJUSTMENT (XGTK_OBJECT (obj)->object)) 95 if (!GTK_IS_ADJUSTMENT (XGTK_OBJECT (obj)->object))
96 { 96 {
97 signal_simple_error ("Object is not a GtkAdjustment", obj); 97 wtaerror ("Object is not a GtkAdjustment", obj);
98 }; 98 };
99 99
100 the_obj = GTK_ADJUSTMENT (XGTK_OBJECT (obj)->object); 100 the_obj = GTK_ADJUSTMENT (XGTK_OBJECT (obj)->object);
101 arg.type = gtk_type_from_name ("gfloat"); 101 arg.type = gtk_type_from_name ("gfloat");
102 GTK_VALUE_FLOAT (arg) = the_obj->page_increment; 102 GTK_VALUE_FLOAT (arg) = the_obj->page_increment;
113 113
114 CHECK_GTK_OBJECT (obj); 114 CHECK_GTK_OBJECT (obj);
115 115
116 if (!GTK_IS_ADJUSTMENT (XGTK_OBJECT (obj)->object)) 116 if (!GTK_IS_ADJUSTMENT (XGTK_OBJECT (obj)->object))
117 { 117 {
118 signal_simple_error ("Object is not a GtkAdjustment", obj); 118 wtaerror ("Object is not a GtkAdjustment", obj);
119 }; 119 };
120 120
121 the_obj = GTK_ADJUSTMENT (XGTK_OBJECT (obj)->object); 121 the_obj = GTK_ADJUSTMENT (XGTK_OBJECT (obj)->object);
122 arg.type = gtk_type_from_name ("gfloat"); 122 arg.type = gtk_type_from_name ("gfloat");
123 GTK_VALUE_FLOAT (arg) = the_obj->page_size; 123 GTK_VALUE_FLOAT (arg) = the_obj->page_size;
134 134
135 CHECK_GTK_OBJECT (obj); 135 CHECK_GTK_OBJECT (obj);
136 136
137 if (!GTK_IS_WIDGET (XGTK_OBJECT (obj)->object)) 137 if (!GTK_IS_WIDGET (XGTK_OBJECT (obj)->object))
138 { 138 {
139 signal_simple_error ("Object is not a GtkWidget", obj); 139 wtaerror ("Object is not a GtkWidget", obj);
140 }; 140 };
141 141
142 the_obj = GTK_WIDGET (XGTK_OBJECT (obj)->object); 142 the_obj = GTK_WIDGET (XGTK_OBJECT (obj)->object);
143 arg.type = gtk_type_from_name ("GtkStyle"); 143 arg.type = gtk_type_from_name ("GtkStyle");
144 GTK_VALUE_BOXED (arg) = (void *)the_obj->style; 144 GTK_VALUE_BOXED (arg) = (void *)the_obj->style;
155 155
156 CHECK_GTK_OBJECT (obj); 156 CHECK_GTK_OBJECT (obj);
157 157
158 if (!GTK_IS_WIDGET (XGTK_OBJECT (obj)->object)) 158 if (!GTK_IS_WIDGET (XGTK_OBJECT (obj)->object))
159 { 159 {
160 signal_simple_error ("Object is not a GtkWidget", obj); 160 wtaerror ("Object is not a GtkWidget", obj);
161 }; 161 };
162 162
163 the_obj = GTK_WIDGET (XGTK_OBJECT (obj)->object); 163 the_obj = GTK_WIDGET (XGTK_OBJECT (obj)->object);
164 arg.type = gtk_type_from_name ("GdkWindow"); 164 arg.type = gtk_type_from_name ("GdkWindow");
165 GTK_VALUE_BOXED (arg) = (void *)the_obj->window; 165 GTK_VALUE_BOXED (arg) = (void *)the_obj->window;
176 176
177 CHECK_GTK_OBJECT (obj); 177 CHECK_GTK_OBJECT (obj);
178 178
179 if (!GTK_IS_WIDGET (XGTK_OBJECT (obj)->object)) 179 if (!GTK_IS_WIDGET (XGTK_OBJECT (obj)->object))
180 { 180 {
181 signal_simple_error ("Object is not a GtkWidget", obj); 181 wtaerror ("Object is not a GtkWidget", obj);
182 }; 182 };
183 183
184 the_obj = GTK_WIDGET (XGTK_OBJECT (obj)->object); 184 the_obj = GTK_WIDGET (XGTK_OBJECT (obj)->object);
185 arg.type = gtk_type_from_name ("GtkStateType"); 185 arg.type = gtk_type_from_name ("GtkStateType");
186 GTK_VALUE_ENUM (arg) = the_obj->state; 186 GTK_VALUE_ENUM (arg) = the_obj->state;
197 197
198 CHECK_GTK_OBJECT (obj); 198 CHECK_GTK_OBJECT (obj);
199 199
200 if (!GTK_IS_WIDGET (XGTK_OBJECT (obj)->object)) 200 if (!GTK_IS_WIDGET (XGTK_OBJECT (obj)->object))
201 { 201 {
202 signal_simple_error ("Object is not a GtkWidget", obj); 202 wtaerror ("Object is not a GtkWidget", obj);
203 }; 203 };
204 204
205 the_obj = GTK_WIDGET (XGTK_OBJECT (obj)->object); 205 the_obj = GTK_WIDGET (XGTK_OBJECT (obj)->object);
206 arg.type = gtk_type_from_name ("GtkString"); 206 arg.type = gtk_type_from_name ("GtkString");
207 GTK_VALUE_STRING (arg) = the_obj->name; 207 GTK_VALUE_STRING (arg) = the_obj->name;
218 218
219 CHECK_GTK_OBJECT (obj); 219 CHECK_GTK_OBJECT (obj);
220 220
221 if (!GTK_IS_WIDGET (XGTK_OBJECT (obj)->object)) 221 if (!GTK_IS_WIDGET (XGTK_OBJECT (obj)->object))
222 { 222 {
223 signal_simple_error ("Object is not a GtkWidget", obj); 223 wtaerror ("Object is not a GtkWidget", obj);
224 }; 224 };
225 225
226 the_obj = GTK_WIDGET (XGTK_OBJECT (obj)->object); 226 the_obj = GTK_WIDGET (XGTK_OBJECT (obj)->object);
227 arg.type = gtk_type_from_name ("GtkWidget"); 227 arg.type = gtk_type_from_name ("GtkWidget");
228 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->parent); 228 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->parent);
239 239
240 CHECK_GTK_OBJECT (obj); 240 CHECK_GTK_OBJECT (obj);
241 241
242 if (!GTK_IS_BUTTON (XGTK_OBJECT (obj)->object)) 242 if (!GTK_IS_BUTTON (XGTK_OBJECT (obj)->object))
243 { 243 {
244 signal_simple_error ("Object is not a GtkButton", obj); 244 wtaerror ("Object is not a GtkButton", obj);
245 }; 245 };
246 246
247 the_obj = GTK_BUTTON (XGTK_OBJECT (obj)->object); 247 the_obj = GTK_BUTTON (XGTK_OBJECT (obj)->object);
248 arg.type = gtk_type_from_name ("GtkWidget"); 248 arg.type = gtk_type_from_name ("GtkWidget");
249 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->child); 249 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->child);
260 260
261 CHECK_GTK_OBJECT (obj); 261 CHECK_GTK_OBJECT (obj);
262 262
263 if (!GTK_IS_BUTTON (XGTK_OBJECT (obj)->object)) 263 if (!GTK_IS_BUTTON (XGTK_OBJECT (obj)->object))
264 { 264 {
265 signal_simple_error ("Object is not a GtkButton", obj); 265 wtaerror ("Object is not a GtkButton", obj);
266 }; 266 };
267 267
268 the_obj = GTK_BUTTON (XGTK_OBJECT (obj)->object); 268 the_obj = GTK_BUTTON (XGTK_OBJECT (obj)->object);
269 arg.type = gtk_type_from_name ("gboolean"); 269 arg.type = gtk_type_from_name ("gboolean");
270 GTK_VALUE_BOOL (arg) = the_obj->in_button; 270 GTK_VALUE_BOOL (arg) = the_obj->in_button;
281 281
282 CHECK_GTK_OBJECT (obj); 282 CHECK_GTK_OBJECT (obj);
283 283
284 if (!GTK_IS_BUTTON (XGTK_OBJECT (obj)->object)) 284 if (!GTK_IS_BUTTON (XGTK_OBJECT (obj)->object))
285 { 285 {
286 signal_simple_error ("Object is not a GtkButton", obj); 286 wtaerror ("Object is not a GtkButton", obj);
287 }; 287 };
288 288
289 the_obj = GTK_BUTTON (XGTK_OBJECT (obj)->object); 289 the_obj = GTK_BUTTON (XGTK_OBJECT (obj)->object);
290 arg.type = gtk_type_from_name ("gboolean"); 290 arg.type = gtk_type_from_name ("gboolean");
291 GTK_VALUE_BOOL (arg) = the_obj->button_down; 291 GTK_VALUE_BOOL (arg) = the_obj->button_down;
302 302
303 CHECK_GTK_OBJECT (obj); 303 CHECK_GTK_OBJECT (obj);
304 304
305 if (!GTK_IS_COMBO (XGTK_OBJECT (obj)->object)) 305 if (!GTK_IS_COMBO (XGTK_OBJECT (obj)->object))
306 { 306 {
307 signal_simple_error ("Object is not a GtkCombo", obj); 307 wtaerror ("Object is not a GtkCombo", obj);
308 }; 308 };
309 309
310 the_obj = GTK_COMBO (XGTK_OBJECT (obj)->object); 310 the_obj = GTK_COMBO (XGTK_OBJECT (obj)->object);
311 arg.type = gtk_type_from_name ("GtkWidget"); 311 arg.type = gtk_type_from_name ("GtkWidget");
312 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->entry); 312 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->entry);
323 323
324 CHECK_GTK_OBJECT (obj); 324 CHECK_GTK_OBJECT (obj);
325 325
326 if (!GTK_IS_COMBO (XGTK_OBJECT (obj)->object)) 326 if (!GTK_IS_COMBO (XGTK_OBJECT (obj)->object))
327 { 327 {
328 signal_simple_error ("Object is not a GtkCombo", obj); 328 wtaerror ("Object is not a GtkCombo", obj);
329 }; 329 };
330 330
331 the_obj = GTK_COMBO (XGTK_OBJECT (obj)->object); 331 the_obj = GTK_COMBO (XGTK_OBJECT (obj)->object);
332 arg.type = gtk_type_from_name ("GtkWidget"); 332 arg.type = gtk_type_from_name ("GtkWidget");
333 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->button); 333 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->button);
344 344
345 CHECK_GTK_OBJECT (obj); 345 CHECK_GTK_OBJECT (obj);
346 346
347 if (!GTK_IS_COMBO (XGTK_OBJECT (obj)->object)) 347 if (!GTK_IS_COMBO (XGTK_OBJECT (obj)->object))
348 { 348 {
349 signal_simple_error ("Object is not a GtkCombo", obj); 349 wtaerror ("Object is not a GtkCombo", obj);
350 }; 350 };
351 351
352 the_obj = GTK_COMBO (XGTK_OBJECT (obj)->object); 352 the_obj = GTK_COMBO (XGTK_OBJECT (obj)->object);
353 arg.type = gtk_type_from_name ("GtkWidget"); 353 arg.type = gtk_type_from_name ("GtkWidget");
354 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->popup); 354 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->popup);
365 365
366 CHECK_GTK_OBJECT (obj); 366 CHECK_GTK_OBJECT (obj);
367 367
368 if (!GTK_IS_COMBO (XGTK_OBJECT (obj)->object)) 368 if (!GTK_IS_COMBO (XGTK_OBJECT (obj)->object))
369 { 369 {
370 signal_simple_error ("Object is not a GtkCombo", obj); 370 wtaerror ("Object is not a GtkCombo", obj);
371 }; 371 };
372 372
373 the_obj = GTK_COMBO (XGTK_OBJECT (obj)->object); 373 the_obj = GTK_COMBO (XGTK_OBJECT (obj)->object);
374 arg.type = gtk_type_from_name ("GtkWidget"); 374 arg.type = gtk_type_from_name ("GtkWidget");
375 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->popwin); 375 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->popwin);
386 386
387 CHECK_GTK_OBJECT (obj); 387 CHECK_GTK_OBJECT (obj);
388 388
389 if (!GTK_IS_COMBO (XGTK_OBJECT (obj)->object)) 389 if (!GTK_IS_COMBO (XGTK_OBJECT (obj)->object))
390 { 390 {
391 signal_simple_error ("Object is not a GtkCombo", obj); 391 wtaerror ("Object is not a GtkCombo", obj);
392 }; 392 };
393 393
394 the_obj = GTK_COMBO (XGTK_OBJECT (obj)->object); 394 the_obj = GTK_COMBO (XGTK_OBJECT (obj)->object);
395 arg.type = gtk_type_from_name ("GtkWidget"); 395 arg.type = gtk_type_from_name ("GtkWidget");
396 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->list); 396 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->list);
407 407
408 CHECK_GTK_OBJECT (obj); 408 CHECK_GTK_OBJECT (obj);
409 409
410 if (!GTK_IS_GAMMA_CURVE (XGTK_OBJECT (obj)->object)) 410 if (!GTK_IS_GAMMA_CURVE (XGTK_OBJECT (obj)->object))
411 { 411 {
412 signal_simple_error ("Object is not a GtkGammaCurve", obj); 412 wtaerror ("Object is not a GtkGammaCurve", obj);
413 }; 413 };
414 414
415 the_obj = GTK_GAMMA_CURVE (XGTK_OBJECT (obj)->object); 415 the_obj = GTK_GAMMA_CURVE (XGTK_OBJECT (obj)->object);
416 arg.type = gtk_type_from_name ("GtkWidget"); 416 arg.type = gtk_type_from_name ("GtkWidget");
417 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->table); 417 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->table);
428 428
429 CHECK_GTK_OBJECT (obj); 429 CHECK_GTK_OBJECT (obj);
430 430
431 if (!GTK_IS_GAMMA_CURVE (XGTK_OBJECT (obj)->object)) 431 if (!GTK_IS_GAMMA_CURVE (XGTK_OBJECT (obj)->object))
432 { 432 {
433 signal_simple_error ("Object is not a GtkGammaCurve", obj); 433 wtaerror ("Object is not a GtkGammaCurve", obj);
434 }; 434 };
435 435
436 the_obj = GTK_GAMMA_CURVE (XGTK_OBJECT (obj)->object); 436 the_obj = GTK_GAMMA_CURVE (XGTK_OBJECT (obj)->object);
437 arg.type = gtk_type_from_name ("GtkWidget"); 437 arg.type = gtk_type_from_name ("GtkWidget");
438 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->curve); 438 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->curve);
449 449
450 CHECK_GTK_OBJECT (obj); 450 CHECK_GTK_OBJECT (obj);
451 451
452 if (!GTK_IS_GAMMA_CURVE (XGTK_OBJECT (obj)->object)) 452 if (!GTK_IS_GAMMA_CURVE (XGTK_OBJECT (obj)->object))
453 { 453 {
454 signal_simple_error ("Object is not a GtkGammaCurve", obj); 454 wtaerror ("Object is not a GtkGammaCurve", obj);
455 }; 455 };
456 456
457 the_obj = GTK_GAMMA_CURVE (XGTK_OBJECT (obj)->object); 457 the_obj = GTK_GAMMA_CURVE (XGTK_OBJECT (obj)->object);
458 arg.type = gtk_type_from_name ("gfloat"); 458 arg.type = gtk_type_from_name ("gfloat");
459 GTK_VALUE_FLOAT (arg) = the_obj->gamma; 459 GTK_VALUE_FLOAT (arg) = the_obj->gamma;
470 470
471 CHECK_GTK_OBJECT (obj); 471 CHECK_GTK_OBJECT (obj);
472 472
473 if (!GTK_IS_GAMMA_CURVE (XGTK_OBJECT (obj)->object)) 473 if (!GTK_IS_GAMMA_CURVE (XGTK_OBJECT (obj)->object))
474 { 474 {
475 signal_simple_error ("Object is not a GtkGammaCurve", obj); 475 wtaerror ("Object is not a GtkGammaCurve", obj);
476 }; 476 };
477 477
478 the_obj = GTK_GAMMA_CURVE (XGTK_OBJECT (obj)->object); 478 the_obj = GTK_GAMMA_CURVE (XGTK_OBJECT (obj)->object);
479 arg.type = gtk_type_from_name ("GtkWidget"); 479 arg.type = gtk_type_from_name ("GtkWidget");
480 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->gamma_dialog); 480 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->gamma_dialog);
491 491
492 CHECK_GTK_OBJECT (obj); 492 CHECK_GTK_OBJECT (obj);
493 493
494 if (!GTK_IS_GAMMA_CURVE (XGTK_OBJECT (obj)->object)) 494 if (!GTK_IS_GAMMA_CURVE (XGTK_OBJECT (obj)->object))
495 { 495 {
496 signal_simple_error ("Object is not a GtkGammaCurve", obj); 496 wtaerror ("Object is not a GtkGammaCurve", obj);
497 }; 497 };
498 498
499 the_obj = GTK_GAMMA_CURVE (XGTK_OBJECT (obj)->object); 499 the_obj = GTK_GAMMA_CURVE (XGTK_OBJECT (obj)->object);
500 arg.type = gtk_type_from_name ("GtkWidget"); 500 arg.type = gtk_type_from_name ("GtkWidget");
501 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->gamma_text); 501 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->gamma_text);
512 512
513 CHECK_GTK_OBJECT (obj); 513 CHECK_GTK_OBJECT (obj);
514 514
515 if (!GTK_IS_CHECK_MENU_ITEM (XGTK_OBJECT (obj)->object)) 515 if (!GTK_IS_CHECK_MENU_ITEM (XGTK_OBJECT (obj)->object))
516 { 516 {
517 signal_simple_error ("Object is not a GtkCheckMenuItem", obj); 517 wtaerror ("Object is not a GtkCheckMenuItem", obj);
518 }; 518 };
519 519
520 the_obj = GTK_CHECK_MENU_ITEM (XGTK_OBJECT (obj)->object); 520 the_obj = GTK_CHECK_MENU_ITEM (XGTK_OBJECT (obj)->object);
521 arg.type = gtk_type_from_name ("gboolean"); 521 arg.type = gtk_type_from_name ("gboolean");
522 GTK_VALUE_BOOL (arg) = the_obj->active; 522 GTK_VALUE_BOOL (arg) = the_obj->active;
533 533
534 CHECK_GTK_OBJECT (obj); 534 CHECK_GTK_OBJECT (obj);
535 535
536 if (!GTK_IS_NOTEBOOK (XGTK_OBJECT (obj)->object)) 536 if (!GTK_IS_NOTEBOOK (XGTK_OBJECT (obj)->object))
537 { 537 {
538 signal_simple_error ("Object is not a GtkNotebook", obj); 538 wtaerror ("Object is not a GtkNotebook", obj);
539 }; 539 };
540 540
541 the_obj = GTK_NOTEBOOK (XGTK_OBJECT (obj)->object); 541 the_obj = GTK_NOTEBOOK (XGTK_OBJECT (obj)->object);
542 arg.type = gtk_type_from_name ("GtkPositionType"); 542 arg.type = gtk_type_from_name ("GtkPositionType");
543 GTK_VALUE_ENUM (arg) = the_obj->tab_pos; 543 GTK_VALUE_ENUM (arg) = the_obj->tab_pos;
554 554
555 CHECK_GTK_OBJECT (obj); 555 CHECK_GTK_OBJECT (obj);
556 556
557 if (!GTK_IS_TEXT (XGTK_OBJECT (obj)->object)) 557 if (!GTK_IS_TEXT (XGTK_OBJECT (obj)->object))
558 { 558 {
559 signal_simple_error ("Object is not a GtkText", obj); 559 wtaerror ("Object is not a GtkText", obj);
560 }; 560 };
561 561
562 the_obj = GTK_TEXT (XGTK_OBJECT (obj)->object); 562 the_obj = GTK_TEXT (XGTK_OBJECT (obj)->object);
563 arg.type = gtk_type_from_name ("GtkAdjustment"); 563 arg.type = gtk_type_from_name ("GtkAdjustment");
564 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->hadj); 564 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->hadj);
575 575
576 CHECK_GTK_OBJECT (obj); 576 CHECK_GTK_OBJECT (obj);
577 577
578 if (!GTK_IS_TEXT (XGTK_OBJECT (obj)->object)) 578 if (!GTK_IS_TEXT (XGTK_OBJECT (obj)->object))
579 { 579 {
580 signal_simple_error ("Object is not a GtkText", obj); 580 wtaerror ("Object is not a GtkText", obj);
581 }; 581 };
582 582
583 the_obj = GTK_TEXT (XGTK_OBJECT (obj)->object); 583 the_obj = GTK_TEXT (XGTK_OBJECT (obj)->object);
584 arg.type = gtk_type_from_name ("GtkAdjustment"); 584 arg.type = gtk_type_from_name ("GtkAdjustment");
585 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->vadj); 585 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->vadj);
596 596
597 CHECK_GTK_OBJECT (obj); 597 CHECK_GTK_OBJECT (obj);
598 598
599 if (!GTK_IS_FILE_SELECTION (XGTK_OBJECT (obj)->object)) 599 if (!GTK_IS_FILE_SELECTION (XGTK_OBJECT (obj)->object))
600 { 600 {
601 signal_simple_error ("Object is not a GtkFileSelection", obj); 601 wtaerror ("Object is not a GtkFileSelection", obj);
602 }; 602 };
603 603
604 the_obj = GTK_FILE_SELECTION (XGTK_OBJECT (obj)->object); 604 the_obj = GTK_FILE_SELECTION (XGTK_OBJECT (obj)->object);
605 arg.type = gtk_type_from_name ("GtkWidget"); 605 arg.type = gtk_type_from_name ("GtkWidget");
606 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->dir_list); 606 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->dir_list);
617 617
618 CHECK_GTK_OBJECT (obj); 618 CHECK_GTK_OBJECT (obj);
619 619
620 if (!GTK_IS_FILE_SELECTION (XGTK_OBJECT (obj)->object)) 620 if (!GTK_IS_FILE_SELECTION (XGTK_OBJECT (obj)->object))
621 { 621 {
622 signal_simple_error ("Object is not a GtkFileSelection", obj); 622 wtaerror ("Object is not a GtkFileSelection", obj);
623 }; 623 };
624 624
625 the_obj = GTK_FILE_SELECTION (XGTK_OBJECT (obj)->object); 625 the_obj = GTK_FILE_SELECTION (XGTK_OBJECT (obj)->object);
626 arg.type = gtk_type_from_name ("GtkWidget"); 626 arg.type = gtk_type_from_name ("GtkWidget");
627 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->file_list); 627 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->file_list);
638 638
639 CHECK_GTK_OBJECT (obj); 639 CHECK_GTK_OBJECT (obj);
640 640
641 if (!GTK_IS_FILE_SELECTION (XGTK_OBJECT (obj)->object)) 641 if (!GTK_IS_FILE_SELECTION (XGTK_OBJECT (obj)->object))
642 { 642 {
643 signal_simple_error ("Object is not a GtkFileSelection", obj); 643 wtaerror ("Object is not a GtkFileSelection", obj);
644 }; 644 };
645 645
646 the_obj = GTK_FILE_SELECTION (XGTK_OBJECT (obj)->object); 646 the_obj = GTK_FILE_SELECTION (XGTK_OBJECT (obj)->object);
647 arg.type = gtk_type_from_name ("GtkWidget"); 647 arg.type = gtk_type_from_name ("GtkWidget");
648 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->selection_entry); 648 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->selection_entry);
659 659
660 CHECK_GTK_OBJECT (obj); 660 CHECK_GTK_OBJECT (obj);
661 661
662 if (!GTK_IS_FILE_SELECTION (XGTK_OBJECT (obj)->object)) 662 if (!GTK_IS_FILE_SELECTION (XGTK_OBJECT (obj)->object))
663 { 663 {
664 signal_simple_error ("Object is not a GtkFileSelection", obj); 664 wtaerror ("Object is not a GtkFileSelection", obj);
665 }; 665 };
666 666
667 the_obj = GTK_FILE_SELECTION (XGTK_OBJECT (obj)->object); 667 the_obj = GTK_FILE_SELECTION (XGTK_OBJECT (obj)->object);
668 arg.type = gtk_type_from_name ("GtkWidget"); 668 arg.type = gtk_type_from_name ("GtkWidget");
669 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->selection_text); 669 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->selection_text);
680 680
681 CHECK_GTK_OBJECT (obj); 681 CHECK_GTK_OBJECT (obj);
682 682
683 if (!GTK_IS_FILE_SELECTION (XGTK_OBJECT (obj)->object)) 683 if (!GTK_IS_FILE_SELECTION (XGTK_OBJECT (obj)->object))
684 { 684 {
685 signal_simple_error ("Object is not a GtkFileSelection", obj); 685 wtaerror ("Object is not a GtkFileSelection", obj);
686 }; 686 };
687 687
688 the_obj = GTK_FILE_SELECTION (XGTK_OBJECT (obj)->object); 688 the_obj = GTK_FILE_SELECTION (XGTK_OBJECT (obj)->object);
689 arg.type = gtk_type_from_name ("GtkWidget"); 689 arg.type = gtk_type_from_name ("GtkWidget");
690 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->main_vbox); 690 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->main_vbox);
701 701
702 CHECK_GTK_OBJECT (obj); 702 CHECK_GTK_OBJECT (obj);
703 703
704 if (!GTK_IS_FILE_SELECTION (XGTK_OBJECT (obj)->object)) 704 if (!GTK_IS_FILE_SELECTION (XGTK_OBJECT (obj)->object))
705 { 705 {
706 signal_simple_error ("Object is not a GtkFileSelection", obj); 706 wtaerror ("Object is not a GtkFileSelection", obj);
707 }; 707 };
708 708
709 the_obj = GTK_FILE_SELECTION (XGTK_OBJECT (obj)->object); 709 the_obj = GTK_FILE_SELECTION (XGTK_OBJECT (obj)->object);
710 arg.type = gtk_type_from_name ("GtkWidget"); 710 arg.type = gtk_type_from_name ("GtkWidget");
711 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->ok_button); 711 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->ok_button);
722 722
723 CHECK_GTK_OBJECT (obj); 723 CHECK_GTK_OBJECT (obj);
724 724
725 if (!GTK_IS_FILE_SELECTION (XGTK_OBJECT (obj)->object)) 725 if (!GTK_IS_FILE_SELECTION (XGTK_OBJECT (obj)->object))
726 { 726 {
727 signal_simple_error ("Object is not a GtkFileSelection", obj); 727 wtaerror ("Object is not a GtkFileSelection", obj);
728 }; 728 };
729 729
730 the_obj = GTK_FILE_SELECTION (XGTK_OBJECT (obj)->object); 730 the_obj = GTK_FILE_SELECTION (XGTK_OBJECT (obj)->object);
731 arg.type = gtk_type_from_name ("GtkWidget"); 731 arg.type = gtk_type_from_name ("GtkWidget");
732 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->cancel_button); 732 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->cancel_button);
743 743
744 CHECK_GTK_OBJECT (obj); 744 CHECK_GTK_OBJECT (obj);
745 745
746 if (!GTK_IS_FILE_SELECTION (XGTK_OBJECT (obj)->object)) 746 if (!GTK_IS_FILE_SELECTION (XGTK_OBJECT (obj)->object))
747 { 747 {
748 signal_simple_error ("Object is not a GtkFileSelection", obj); 748 wtaerror ("Object is not a GtkFileSelection", obj);
749 }; 749 };
750 750
751 the_obj = GTK_FILE_SELECTION (XGTK_OBJECT (obj)->object); 751 the_obj = GTK_FILE_SELECTION (XGTK_OBJECT (obj)->object);
752 arg.type = gtk_type_from_name ("GtkWidget"); 752 arg.type = gtk_type_from_name ("GtkWidget");
753 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->help_button); 753 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->help_button);
764 764
765 CHECK_GTK_OBJECT (obj); 765 CHECK_GTK_OBJECT (obj);
766 766
767 if (!GTK_IS_FILE_SELECTION (XGTK_OBJECT (obj)->object)) 767 if (!GTK_IS_FILE_SELECTION (XGTK_OBJECT (obj)->object))
768 { 768 {
769 signal_simple_error ("Object is not a GtkFileSelection", obj); 769 wtaerror ("Object is not a GtkFileSelection", obj);
770 }; 770 };
771 771
772 the_obj = GTK_FILE_SELECTION (XGTK_OBJECT (obj)->object); 772 the_obj = GTK_FILE_SELECTION (XGTK_OBJECT (obj)->object);
773 arg.type = gtk_type_from_name ("GtkWidget"); 773 arg.type = gtk_type_from_name ("GtkWidget");
774 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->action_area); 774 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->action_area);
785 785
786 CHECK_GTK_OBJECT (obj); 786 CHECK_GTK_OBJECT (obj);
787 787
788 if (!GTK_IS_FONT_SELECTION_DIALOG (XGTK_OBJECT (obj)->object)) 788 if (!GTK_IS_FONT_SELECTION_DIALOG (XGTK_OBJECT (obj)->object))
789 { 789 {
790 signal_simple_error ("Object is not a GtkFontSelectionDialog", obj); 790 wtaerror ("Object is not a GtkFontSelectionDialog", obj);
791 }; 791 };
792 792
793 the_obj = GTK_FONT_SELECTION_DIALOG (XGTK_OBJECT (obj)->object); 793 the_obj = GTK_FONT_SELECTION_DIALOG (XGTK_OBJECT (obj)->object);
794 arg.type = gtk_type_from_name ("GtkWidget"); 794 arg.type = gtk_type_from_name ("GtkWidget");
795 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->fontsel); 795 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->fontsel);
806 806
807 CHECK_GTK_OBJECT (obj); 807 CHECK_GTK_OBJECT (obj);
808 808
809 if (!GTK_IS_FONT_SELECTION_DIALOG (XGTK_OBJECT (obj)->object)) 809 if (!GTK_IS_FONT_SELECTION_DIALOG (XGTK_OBJECT (obj)->object))
810 { 810 {
811 signal_simple_error ("Object is not a GtkFontSelectionDialog", obj); 811 wtaerror ("Object is not a GtkFontSelectionDialog", obj);
812 }; 812 };
813 813
814 the_obj = GTK_FONT_SELECTION_DIALOG (XGTK_OBJECT (obj)->object); 814 the_obj = GTK_FONT_SELECTION_DIALOG (XGTK_OBJECT (obj)->object);
815 arg.type = gtk_type_from_name ("GtkWidget"); 815 arg.type = gtk_type_from_name ("GtkWidget");
816 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->main_vbox); 816 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->main_vbox);
827 827
828 CHECK_GTK_OBJECT (obj); 828 CHECK_GTK_OBJECT (obj);
829 829
830 if (!GTK_IS_FONT_SELECTION_DIALOG (XGTK_OBJECT (obj)->object)) 830 if (!GTK_IS_FONT_SELECTION_DIALOG (XGTK_OBJECT (obj)->object))
831 { 831 {
832 signal_simple_error ("Object is not a GtkFontSelectionDialog", obj); 832 wtaerror ("Object is not a GtkFontSelectionDialog", obj);
833 }; 833 };
834 834
835 the_obj = GTK_FONT_SELECTION_DIALOG (XGTK_OBJECT (obj)->object); 835 the_obj = GTK_FONT_SELECTION_DIALOG (XGTK_OBJECT (obj)->object);
836 arg.type = gtk_type_from_name ("GtkWidget"); 836 arg.type = gtk_type_from_name ("GtkWidget");
837 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->action_area); 837 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->action_area);
848 848
849 CHECK_GTK_OBJECT (obj); 849 CHECK_GTK_OBJECT (obj);
850 850
851 if (!GTK_IS_FONT_SELECTION_DIALOG (XGTK_OBJECT (obj)->object)) 851 if (!GTK_IS_FONT_SELECTION_DIALOG (XGTK_OBJECT (obj)->object))
852 { 852 {
853 signal_simple_error ("Object is not a GtkFontSelectionDialog", obj); 853 wtaerror ("Object is not a GtkFontSelectionDialog", obj);
854 }; 854 };
855 855
856 the_obj = GTK_FONT_SELECTION_DIALOG (XGTK_OBJECT (obj)->object); 856 the_obj = GTK_FONT_SELECTION_DIALOG (XGTK_OBJECT (obj)->object);
857 arg.type = gtk_type_from_name ("GtkWidget"); 857 arg.type = gtk_type_from_name ("GtkWidget");
858 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->ok_button); 858 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->ok_button);
869 869
870 CHECK_GTK_OBJECT (obj); 870 CHECK_GTK_OBJECT (obj);
871 871
872 if (!GTK_IS_FONT_SELECTION_DIALOG (XGTK_OBJECT (obj)->object)) 872 if (!GTK_IS_FONT_SELECTION_DIALOG (XGTK_OBJECT (obj)->object))
873 { 873 {
874 signal_simple_error ("Object is not a GtkFontSelectionDialog", obj); 874 wtaerror ("Object is not a GtkFontSelectionDialog", obj);
875 }; 875 };
876 876
877 the_obj = GTK_FONT_SELECTION_DIALOG (XGTK_OBJECT (obj)->object); 877 the_obj = GTK_FONT_SELECTION_DIALOG (XGTK_OBJECT (obj)->object);
878 arg.type = gtk_type_from_name ("GtkWidget"); 878 arg.type = gtk_type_from_name ("GtkWidget");
879 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->apply_button); 879 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->apply_button);
890 890
891 CHECK_GTK_OBJECT (obj); 891 CHECK_GTK_OBJECT (obj);
892 892
893 if (!GTK_IS_FONT_SELECTION_DIALOG (XGTK_OBJECT (obj)->object)) 893 if (!GTK_IS_FONT_SELECTION_DIALOG (XGTK_OBJECT (obj)->object))
894 { 894 {
895 signal_simple_error ("Object is not a GtkFontSelectionDialog", obj); 895 wtaerror ("Object is not a GtkFontSelectionDialog", obj);
896 }; 896 };
897 897
898 the_obj = GTK_FONT_SELECTION_DIALOG (XGTK_OBJECT (obj)->object); 898 the_obj = GTK_FONT_SELECTION_DIALOG (XGTK_OBJECT (obj)->object);
899 arg.type = gtk_type_from_name ("GtkWidget"); 899 arg.type = gtk_type_from_name ("GtkWidget");
900 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->cancel_button); 900 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->cancel_button);
911 911
912 CHECK_GTK_OBJECT (obj); 912 CHECK_GTK_OBJECT (obj);
913 913
914 if (!GTK_IS_COLOR_SELECTION_DIALOG (XGTK_OBJECT (obj)->object)) 914 if (!GTK_IS_COLOR_SELECTION_DIALOG (XGTK_OBJECT (obj)->object))
915 { 915 {
916 signal_simple_error ("Object is not a GtkColorSelectionDialog", obj); 916 wtaerror ("Object is not a GtkColorSelectionDialog", obj);
917 }; 917 };
918 918
919 the_obj = GTK_COLOR_SELECTION_DIALOG (XGTK_OBJECT (obj)->object); 919 the_obj = GTK_COLOR_SELECTION_DIALOG (XGTK_OBJECT (obj)->object);
920 arg.type = gtk_type_from_name ("GtkWidget"); 920 arg.type = gtk_type_from_name ("GtkWidget");
921 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->colorsel); 921 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->colorsel);
932 932
933 CHECK_GTK_OBJECT (obj); 933 CHECK_GTK_OBJECT (obj);
934 934
935 if (!GTK_IS_COLOR_SELECTION_DIALOG (XGTK_OBJECT (obj)->object)) 935 if (!GTK_IS_COLOR_SELECTION_DIALOG (XGTK_OBJECT (obj)->object))
936 { 936 {
937 signal_simple_error ("Object is not a GtkColorSelectionDialog", obj); 937 wtaerror ("Object is not a GtkColorSelectionDialog", obj);
938 }; 938 };
939 939
940 the_obj = GTK_COLOR_SELECTION_DIALOG (XGTK_OBJECT (obj)->object); 940 the_obj = GTK_COLOR_SELECTION_DIALOG (XGTK_OBJECT (obj)->object);
941 arg.type = gtk_type_from_name ("GtkWidget"); 941 arg.type = gtk_type_from_name ("GtkWidget");
942 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->main_vbox); 942 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->main_vbox);
953 953
954 CHECK_GTK_OBJECT (obj); 954 CHECK_GTK_OBJECT (obj);
955 955
956 if (!GTK_IS_COLOR_SELECTION_DIALOG (XGTK_OBJECT (obj)->object)) 956 if (!GTK_IS_COLOR_SELECTION_DIALOG (XGTK_OBJECT (obj)->object))
957 { 957 {
958 signal_simple_error ("Object is not a GtkColorSelectionDialog", obj); 958 wtaerror ("Object is not a GtkColorSelectionDialog", obj);
959 }; 959 };
960 960
961 the_obj = GTK_COLOR_SELECTION_DIALOG (XGTK_OBJECT (obj)->object); 961 the_obj = GTK_COLOR_SELECTION_DIALOG (XGTK_OBJECT (obj)->object);
962 arg.type = gtk_type_from_name ("GtkWidget"); 962 arg.type = gtk_type_from_name ("GtkWidget");
963 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->ok_button); 963 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->ok_button);
974 974
975 CHECK_GTK_OBJECT (obj); 975 CHECK_GTK_OBJECT (obj);
976 976
977 if (!GTK_IS_COLOR_SELECTION_DIALOG (XGTK_OBJECT (obj)->object)) 977 if (!GTK_IS_COLOR_SELECTION_DIALOG (XGTK_OBJECT (obj)->object))
978 { 978 {
979 signal_simple_error ("Object is not a GtkColorSelectionDialog", obj); 979 wtaerror ("Object is not a GtkColorSelectionDialog", obj);
980 }; 980 };
981 981
982 the_obj = GTK_COLOR_SELECTION_DIALOG (XGTK_OBJECT (obj)->object); 982 the_obj = GTK_COLOR_SELECTION_DIALOG (XGTK_OBJECT (obj)->object);
983 arg.type = gtk_type_from_name ("GtkWidget"); 983 arg.type = gtk_type_from_name ("GtkWidget");
984 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->reset_button); 984 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->reset_button);
995 995
996 CHECK_GTK_OBJECT (obj); 996 CHECK_GTK_OBJECT (obj);
997 997
998 if (!GTK_IS_COLOR_SELECTION_DIALOG (XGTK_OBJECT (obj)->object)) 998 if (!GTK_IS_COLOR_SELECTION_DIALOG (XGTK_OBJECT (obj)->object))
999 { 999 {
1000 signal_simple_error ("Object is not a GtkColorSelectionDialog", obj); 1000 wtaerror ("Object is not a GtkColorSelectionDialog", obj);
1001 }; 1001 };
1002 1002
1003 the_obj = GTK_COLOR_SELECTION_DIALOG (XGTK_OBJECT (obj)->object); 1003 the_obj = GTK_COLOR_SELECTION_DIALOG (XGTK_OBJECT (obj)->object);
1004 arg.type = gtk_type_from_name ("GtkWidget"); 1004 arg.type = gtk_type_from_name ("GtkWidget");
1005 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->cancel_button); 1005 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->cancel_button);
1016 1016
1017 CHECK_GTK_OBJECT (obj); 1017 CHECK_GTK_OBJECT (obj);
1018 1018
1019 if (!GTK_IS_COLOR_SELECTION_DIALOG (XGTK_OBJECT (obj)->object)) 1019 if (!GTK_IS_COLOR_SELECTION_DIALOG (XGTK_OBJECT (obj)->object))
1020 { 1020 {
1021 signal_simple_error ("Object is not a GtkColorSelectionDialog", obj); 1021 wtaerror ("Object is not a GtkColorSelectionDialog", obj);
1022 }; 1022 };
1023 1023
1024 the_obj = GTK_COLOR_SELECTION_DIALOG (XGTK_OBJECT (obj)->object); 1024 the_obj = GTK_COLOR_SELECTION_DIALOG (XGTK_OBJECT (obj)->object);
1025 arg.type = gtk_type_from_name ("GtkWidget"); 1025 arg.type = gtk_type_from_name ("GtkWidget");
1026 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->help_button); 1026 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->help_button);
1037 1037
1038 CHECK_GTK_OBJECT (obj); 1038 CHECK_GTK_OBJECT (obj);
1039 1039
1040 if (!GTK_IS_DIALOG (XGTK_OBJECT (obj)->object)) 1040 if (!GTK_IS_DIALOG (XGTK_OBJECT (obj)->object))
1041 { 1041 {
1042 signal_simple_error ("Object is not a GtkDialog", obj); 1042 wtaerror ("Object is not a GtkDialog", obj);
1043 }; 1043 };
1044 1044
1045 the_obj = GTK_DIALOG (XGTK_OBJECT (obj)->object); 1045 the_obj = GTK_DIALOG (XGTK_OBJECT (obj)->object);
1046 arg.type = gtk_type_from_name ("GtkWidget"); 1046 arg.type = gtk_type_from_name ("GtkWidget");
1047 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->vbox); 1047 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->vbox);
1058 1058
1059 CHECK_GTK_OBJECT (obj); 1059 CHECK_GTK_OBJECT (obj);
1060 1060
1061 if (!GTK_IS_DIALOG (XGTK_OBJECT (obj)->object)) 1061 if (!GTK_IS_DIALOG (XGTK_OBJECT (obj)->object))
1062 { 1062 {
1063 signal_simple_error ("Object is not a GtkDialog", obj); 1063 wtaerror ("Object is not a GtkDialog", obj);
1064 }; 1064 };
1065 1065
1066 the_obj = GTK_DIALOG (XGTK_OBJECT (obj)->object); 1066 the_obj = GTK_DIALOG (XGTK_OBJECT (obj)->object);
1067 arg.type = gtk_type_from_name ("GtkWidget"); 1067 arg.type = gtk_type_from_name ("GtkWidget");
1068 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->action_area); 1068 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->action_area);
1079 1079
1080 CHECK_GTK_OBJECT (obj); 1080 CHECK_GTK_OBJECT (obj);
1081 1081
1082 if (!GTK_IS_INPUT_DIALOG (XGTK_OBJECT (obj)->object)) 1082 if (!GTK_IS_INPUT_DIALOG (XGTK_OBJECT (obj)->object))
1083 { 1083 {
1084 signal_simple_error ("Object is not a GtkInputDialog", obj); 1084 wtaerror ("Object is not a GtkInputDialog", obj);
1085 }; 1085 };
1086 1086
1087 the_obj = GTK_INPUT_DIALOG (XGTK_OBJECT (obj)->object); 1087 the_obj = GTK_INPUT_DIALOG (XGTK_OBJECT (obj)->object);
1088 arg.type = gtk_type_from_name ("GtkWidget"); 1088 arg.type = gtk_type_from_name ("GtkWidget");
1089 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->close_button); 1089 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->close_button);
1100 1100
1101 CHECK_GTK_OBJECT (obj); 1101 CHECK_GTK_OBJECT (obj);
1102 1102
1103 if (!GTK_IS_INPUT_DIALOG (XGTK_OBJECT (obj)->object)) 1103 if (!GTK_IS_INPUT_DIALOG (XGTK_OBJECT (obj)->object))
1104 { 1104 {
1105 signal_simple_error ("Object is not a GtkInputDialog", obj); 1105 wtaerror ("Object is not a GtkInputDialog", obj);
1106 }; 1106 };
1107 1107
1108 the_obj = GTK_INPUT_DIALOG (XGTK_OBJECT (obj)->object); 1108 the_obj = GTK_INPUT_DIALOG (XGTK_OBJECT (obj)->object);
1109 arg.type = gtk_type_from_name ("GtkWidget"); 1109 arg.type = gtk_type_from_name ("GtkWidget");
1110 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->save_button); 1110 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->save_button);
1121 1121
1122 CHECK_GTK_OBJECT (obj); 1122 CHECK_GTK_OBJECT (obj);
1123 1123
1124 if (!GTK_IS_PLUG (XGTK_OBJECT (obj)->object)) 1124 if (!GTK_IS_PLUG (XGTK_OBJECT (obj)->object))
1125 { 1125 {
1126 signal_simple_error ("Object is not a GtkPlug", obj); 1126 wtaerror ("Object is not a GtkPlug", obj);
1127 }; 1127 };
1128 1128
1129 the_obj = GTK_PLUG (XGTK_OBJECT (obj)->object); 1129 the_obj = GTK_PLUG (XGTK_OBJECT (obj)->object);
1130 arg.type = gtk_type_from_name ("GdkWindow"); 1130 arg.type = gtk_type_from_name ("GdkWindow");
1131 GTK_VALUE_BOXED (arg) = (void *)the_obj->socket_window; 1131 GTK_VALUE_BOXED (arg) = (void *)the_obj->socket_window;
1142 1142
1143 CHECK_GTK_OBJECT (obj); 1143 CHECK_GTK_OBJECT (obj);
1144 1144
1145 if (!GTK_IS_PLUG (XGTK_OBJECT (obj)->object)) 1145 if (!GTK_IS_PLUG (XGTK_OBJECT (obj)->object))
1146 { 1146 {
1147 signal_simple_error ("Object is not a GtkPlug", obj); 1147 wtaerror ("Object is not a GtkPlug", obj);
1148 }; 1148 };
1149 1149
1150 the_obj = GTK_PLUG (XGTK_OBJECT (obj)->object); 1150 the_obj = GTK_PLUG (XGTK_OBJECT (obj)->object);
1151 arg.type = gtk_type_from_name ("gint"); 1151 arg.type = gtk_type_from_name ("gint");
1152 GTK_VALUE_INT (arg) = the_obj->same_app; 1152 GTK_VALUE_INT (arg) = the_obj->same_app;
1163 1163
1164 CHECK_GTK_OBJECT (obj); 1164 CHECK_GTK_OBJECT (obj);
1165 1165
1166 if (!GTK_IS_OBJECT (XGTK_OBJECT (obj)->object)) 1166 if (!GTK_IS_OBJECT (XGTK_OBJECT (obj)->object))
1167 { 1167 {
1168 signal_simple_error ("Object is not a GtkObject", obj); 1168 wtaerror ("Object is not a GtkObject", obj);
1169 }; 1169 };
1170 1170
1171 the_obj = GTK_OBJECT (XGTK_OBJECT (obj)->object); 1171 the_obj = GTK_OBJECT (XGTK_OBJECT (obj)->object);
1172 arg.type = gtk_type_from_name ("guint"); 1172 arg.type = gtk_type_from_name ("guint");
1173 GTK_VALUE_UINT (arg) = the_obj->flags; 1173 GTK_VALUE_UINT (arg) = the_obj->flags;
1184 1184
1185 CHECK_GTK_OBJECT (obj); 1185 CHECK_GTK_OBJECT (obj);
1186 1186
1187 if (!GTK_IS_OBJECT (XGTK_OBJECT (obj)->object)) 1187 if (!GTK_IS_OBJECT (XGTK_OBJECT (obj)->object))
1188 { 1188 {
1189 signal_simple_error ("Object is not a GtkObject", obj); 1189 wtaerror ("Object is not a GtkObject", obj);
1190 }; 1190 };
1191 1191
1192 the_obj = GTK_OBJECT (XGTK_OBJECT (obj)->object); 1192 the_obj = GTK_OBJECT (XGTK_OBJECT (obj)->object);
1193 arg.type = gtk_type_from_name ("guint"); 1193 arg.type = gtk_type_from_name ("guint");
1194 GTK_VALUE_UINT (arg) = the_obj->ref_count; 1194 GTK_VALUE_UINT (arg) = the_obj->ref_count;
1205 1205
1206 CHECK_GTK_OBJECT (obj); 1206 CHECK_GTK_OBJECT (obj);
1207 1207
1208 if (!GTK_IS_PANED (XGTK_OBJECT (obj)->object)) 1208 if (!GTK_IS_PANED (XGTK_OBJECT (obj)->object))
1209 { 1209 {
1210 signal_simple_error ("Object is not a GtkPaned", obj); 1210 wtaerror ("Object is not a GtkPaned", obj);
1211 }; 1211 };
1212 1212
1213 the_obj = GTK_PANED (XGTK_OBJECT (obj)->object); 1213 the_obj = GTK_PANED (XGTK_OBJECT (obj)->object);
1214 arg.type = gtk_type_from_name ("GtkWidget"); 1214 arg.type = gtk_type_from_name ("GtkWidget");
1215 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->child1); 1215 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->child1);
1226 1226
1227 CHECK_GTK_OBJECT (obj); 1227 CHECK_GTK_OBJECT (obj);
1228 1228
1229 if (!GTK_IS_PANED (XGTK_OBJECT (obj)->object)) 1229 if (!GTK_IS_PANED (XGTK_OBJECT (obj)->object))
1230 { 1230 {
1231 signal_simple_error ("Object is not a GtkPaned", obj); 1231 wtaerror ("Object is not a GtkPaned", obj);
1232 }; 1232 };
1233 1233
1234 the_obj = GTK_PANED (XGTK_OBJECT (obj)->object); 1234 the_obj = GTK_PANED (XGTK_OBJECT (obj)->object);
1235 arg.type = gtk_type_from_name ("GtkWidget"); 1235 arg.type = gtk_type_from_name ("GtkWidget");
1236 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->child2); 1236 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->child2);
1247 1247
1248 CHECK_GTK_OBJECT (obj); 1248 CHECK_GTK_OBJECT (obj);
1249 1249
1250 if (!GTK_IS_PANED (XGTK_OBJECT (obj)->object)) 1250 if (!GTK_IS_PANED (XGTK_OBJECT (obj)->object))
1251 { 1251 {
1252 signal_simple_error ("Object is not a GtkPaned", obj); 1252 wtaerror ("Object is not a GtkPaned", obj);
1253 }; 1253 };
1254 1254
1255 the_obj = GTK_PANED (XGTK_OBJECT (obj)->object); 1255 the_obj = GTK_PANED (XGTK_OBJECT (obj)->object);
1256 arg.type = gtk_type_from_name ("gboolean"); 1256 arg.type = gtk_type_from_name ("gboolean");
1257 GTK_VALUE_BOOL (arg) = the_obj->child1_resize; 1257 GTK_VALUE_BOOL (arg) = the_obj->child1_resize;
1268 1268
1269 CHECK_GTK_OBJECT (obj); 1269 CHECK_GTK_OBJECT (obj);
1270 1270
1271 if (!GTK_IS_PANED (XGTK_OBJECT (obj)->object)) 1271 if (!GTK_IS_PANED (XGTK_OBJECT (obj)->object))
1272 { 1272 {
1273 signal_simple_error ("Object is not a GtkPaned", obj); 1273 wtaerror ("Object is not a GtkPaned", obj);
1274 }; 1274 };
1275 1275
1276 the_obj = GTK_PANED (XGTK_OBJECT (obj)->object); 1276 the_obj = GTK_PANED (XGTK_OBJECT (obj)->object);
1277 arg.type = gtk_type_from_name ("gboolean"); 1277 arg.type = gtk_type_from_name ("gboolean");
1278 GTK_VALUE_BOOL (arg) = the_obj->child2_resize; 1278 GTK_VALUE_BOOL (arg) = the_obj->child2_resize;
1289 1289
1290 CHECK_GTK_OBJECT (obj); 1290 CHECK_GTK_OBJECT (obj);
1291 1291
1292 if (!GTK_IS_PANED (XGTK_OBJECT (obj)->object)) 1292 if (!GTK_IS_PANED (XGTK_OBJECT (obj)->object))
1293 { 1293 {
1294 signal_simple_error ("Object is not a GtkPaned", obj); 1294 wtaerror ("Object is not a GtkPaned", obj);
1295 }; 1295 };
1296 1296
1297 the_obj = GTK_PANED (XGTK_OBJECT (obj)->object); 1297 the_obj = GTK_PANED (XGTK_OBJECT (obj)->object);
1298 arg.type = gtk_type_from_name ("gboolean"); 1298 arg.type = gtk_type_from_name ("gboolean");
1299 GTK_VALUE_BOOL (arg) = the_obj->child1_shrink; 1299 GTK_VALUE_BOOL (arg) = the_obj->child1_shrink;
1310 1310
1311 CHECK_GTK_OBJECT (obj); 1311 CHECK_GTK_OBJECT (obj);
1312 1312
1313 if (!GTK_IS_PANED (XGTK_OBJECT (obj)->object)) 1313 if (!GTK_IS_PANED (XGTK_OBJECT (obj)->object))
1314 { 1314 {
1315 signal_simple_error ("Object is not a GtkPaned", obj); 1315 wtaerror ("Object is not a GtkPaned", obj);
1316 }; 1316 };
1317 1317
1318 the_obj = GTK_PANED (XGTK_OBJECT (obj)->object); 1318 the_obj = GTK_PANED (XGTK_OBJECT (obj)->object);
1319 arg.type = gtk_type_from_name ("gboolean"); 1319 arg.type = gtk_type_from_name ("gboolean");
1320 GTK_VALUE_BOOL (arg) = the_obj->child2_shrink; 1320 GTK_VALUE_BOOL (arg) = the_obj->child2_shrink;
1331 1331
1332 CHECK_GTK_OBJECT (obj); 1332 CHECK_GTK_OBJECT (obj);
1333 1333
1334 if (!GTK_IS_CLIST (XGTK_OBJECT (obj)->object)) 1334 if (!GTK_IS_CLIST (XGTK_OBJECT (obj)->object))
1335 { 1335 {
1336 signal_simple_error ("Object is not a GtkCList", obj); 1336 wtaerror ("Object is not a GtkCList", obj);
1337 }; 1337 };
1338 1338
1339 the_obj = GTK_CLIST (XGTK_OBJECT (obj)->object); 1339 the_obj = GTK_CLIST (XGTK_OBJECT (obj)->object);
1340 arg.type = gtk_type_from_name ("gint"); 1340 arg.type = gtk_type_from_name ("gint");
1341 GTK_VALUE_INT (arg) = the_obj->rows; 1341 GTK_VALUE_INT (arg) = the_obj->rows;
1352 1352
1353 CHECK_GTK_OBJECT (obj); 1353 CHECK_GTK_OBJECT (obj);
1354 1354
1355 if (!GTK_IS_CLIST (XGTK_OBJECT (obj)->object)) 1355 if (!GTK_IS_CLIST (XGTK_OBJECT (obj)->object))
1356 { 1356 {
1357 signal_simple_error ("Object is not a GtkCList", obj); 1357 wtaerror ("Object is not a GtkCList", obj);
1358 }; 1358 };
1359 1359
1360 the_obj = GTK_CLIST (XGTK_OBJECT (obj)->object); 1360 the_obj = GTK_CLIST (XGTK_OBJECT (obj)->object);
1361 arg.type = gtk_type_from_name ("gint"); 1361 arg.type = gtk_type_from_name ("gint");
1362 GTK_VALUE_INT (arg) = the_obj->columns; 1362 GTK_VALUE_INT (arg) = the_obj->columns;
1373 1373
1374 CHECK_GTK_OBJECT (obj); 1374 CHECK_GTK_OBJECT (obj);
1375 1375
1376 if (!GTK_IS_CLIST (XGTK_OBJECT (obj)->object)) 1376 if (!GTK_IS_CLIST (XGTK_OBJECT (obj)->object))
1377 { 1377 {
1378 signal_simple_error ("Object is not a GtkCList", obj); 1378 wtaerror ("Object is not a GtkCList", obj);
1379 }; 1379 };
1380 1380
1381 the_obj = GTK_CLIST (XGTK_OBJECT (obj)->object); 1381 the_obj = GTK_CLIST (XGTK_OBJECT (obj)->object);
1382 arg.type = gtk_type_from_name ("GtkAdjustment"); 1382 arg.type = gtk_type_from_name ("GtkAdjustment");
1383 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->hadjustment); 1383 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->hadjustment);
1394 1394
1395 CHECK_GTK_OBJECT (obj); 1395 CHECK_GTK_OBJECT (obj);
1396 1396
1397 if (!GTK_IS_CLIST (XGTK_OBJECT (obj)->object)) 1397 if (!GTK_IS_CLIST (XGTK_OBJECT (obj)->object))
1398 { 1398 {
1399 signal_simple_error ("Object is not a GtkCList", obj); 1399 wtaerror ("Object is not a GtkCList", obj);
1400 }; 1400 };
1401 1401
1402 the_obj = GTK_CLIST (XGTK_OBJECT (obj)->object); 1402 the_obj = GTK_CLIST (XGTK_OBJECT (obj)->object);
1403 arg.type = gtk_type_from_name ("GtkAdjustment"); 1403 arg.type = gtk_type_from_name ("GtkAdjustment");
1404 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->vadjustment); 1404 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->vadjustment);
1415 1415
1416 CHECK_GTK_OBJECT (obj); 1416 CHECK_GTK_OBJECT (obj);
1417 1417
1418 if (!GTK_IS_CLIST (XGTK_OBJECT (obj)->object)) 1418 if (!GTK_IS_CLIST (XGTK_OBJECT (obj)->object))
1419 { 1419 {
1420 signal_simple_error ("Object is not a GtkCList", obj); 1420 wtaerror ("Object is not a GtkCList", obj);
1421 }; 1421 };
1422 1422
1423 the_obj = GTK_CLIST (XGTK_OBJECT (obj)->object); 1423 the_obj = GTK_CLIST (XGTK_OBJECT (obj)->object);
1424 arg.type = gtk_type_from_name ("GtkSortType"); 1424 arg.type = gtk_type_from_name ("GtkSortType");
1425 GTK_VALUE_ENUM (arg) = the_obj->sort_type; 1425 GTK_VALUE_ENUM (arg) = the_obj->sort_type;
1436 1436
1437 CHECK_GTK_OBJECT (obj); 1437 CHECK_GTK_OBJECT (obj);
1438 1438
1439 if (!GTK_IS_CLIST (XGTK_OBJECT (obj)->object)) 1439 if (!GTK_IS_CLIST (XGTK_OBJECT (obj)->object))
1440 { 1440 {
1441 signal_simple_error ("Object is not a GtkCList", obj); 1441 wtaerror ("Object is not a GtkCList", obj);
1442 }; 1442 };
1443 1443
1444 the_obj = GTK_CLIST (XGTK_OBJECT (obj)->object); 1444 the_obj = GTK_CLIST (XGTK_OBJECT (obj)->object);
1445 arg.type = gtk_type_from_name ("gint"); 1445 arg.type = gtk_type_from_name ("gint");
1446 GTK_VALUE_INT (arg) = the_obj->focus_row; 1446 GTK_VALUE_INT (arg) = the_obj->focus_row;
1457 1457
1458 CHECK_GTK_OBJECT (obj); 1458 CHECK_GTK_OBJECT (obj);
1459 1459
1460 if (!GTK_IS_CLIST (XGTK_OBJECT (obj)->object)) 1460 if (!GTK_IS_CLIST (XGTK_OBJECT (obj)->object))
1461 { 1461 {
1462 signal_simple_error ("Object is not a GtkCList", obj); 1462 wtaerror ("Object is not a GtkCList", obj);
1463 }; 1463 };
1464 1464
1465 the_obj = GTK_CLIST (XGTK_OBJECT (obj)->object); 1465 the_obj = GTK_CLIST (XGTK_OBJECT (obj)->object);
1466 arg.type = gtk_type_from_name ("gint"); 1466 arg.type = gtk_type_from_name ("gint");
1467 GTK_VALUE_INT (arg) = the_obj->sort_column; 1467 GTK_VALUE_INT (arg) = the_obj->sort_column;
1478 1478
1479 CHECK_GTK_OBJECT (obj); 1479 CHECK_GTK_OBJECT (obj);
1480 1480
1481 if (!GTK_IS_LIST (XGTK_OBJECT (obj)->object)) 1481 if (!GTK_IS_LIST (XGTK_OBJECT (obj)->object))
1482 { 1482 {
1483 signal_simple_error ("Object is not a GtkList", obj); 1483 wtaerror ("Object is not a GtkList", obj);
1484 }; 1484 };
1485 1485
1486 the_obj = GTK_LIST (XGTK_OBJECT (obj)->object); 1486 the_obj = GTK_LIST (XGTK_OBJECT (obj)->object);
1487 arg.type = gtk_type_from_name ("GtkListOfObject"); 1487 arg.type = gtk_type_from_name ("GtkListOfObject");
1488 GTK_VALUE_POINTER (arg) = the_obj->children; 1488 GTK_VALUE_POINTER (arg) = the_obj->children;
1499 1499
1500 CHECK_GTK_OBJECT (obj); 1500 CHECK_GTK_OBJECT (obj);
1501 1501
1502 if (!GTK_IS_LIST (XGTK_OBJECT (obj)->object)) 1502 if (!GTK_IS_LIST (XGTK_OBJECT (obj)->object))
1503 { 1503 {
1504 signal_simple_error ("Object is not a GtkList", obj); 1504 wtaerror ("Object is not a GtkList", obj);
1505 }; 1505 };
1506 1506
1507 the_obj = GTK_LIST (XGTK_OBJECT (obj)->object); 1507 the_obj = GTK_LIST (XGTK_OBJECT (obj)->object);
1508 arg.type = gtk_type_from_name ("GtkListOfObject"); 1508 arg.type = gtk_type_from_name ("GtkListOfObject");
1509 GTK_VALUE_POINTER (arg) = the_obj->selection; 1509 GTK_VALUE_POINTER (arg) = the_obj->selection;
1520 1520
1521 CHECK_GTK_OBJECT (obj); 1521 CHECK_GTK_OBJECT (obj);
1522 1522
1523 if (!GTK_IS_TREE (XGTK_OBJECT (obj)->object)) 1523 if (!GTK_IS_TREE (XGTK_OBJECT (obj)->object))
1524 { 1524 {
1525 signal_simple_error ("Object is not a GtkTree", obj); 1525 wtaerror ("Object is not a GtkTree", obj);
1526 }; 1526 };
1527 1527
1528 the_obj = GTK_TREE (XGTK_OBJECT (obj)->object); 1528 the_obj = GTK_TREE (XGTK_OBJECT (obj)->object);
1529 arg.type = gtk_type_from_name ("GtkListOfObject"); 1529 arg.type = gtk_type_from_name ("GtkListOfObject");
1530 GTK_VALUE_POINTER (arg) = the_obj->children; 1530 GTK_VALUE_POINTER (arg) = the_obj->children;
1541 1541
1542 CHECK_GTK_OBJECT (obj); 1542 CHECK_GTK_OBJECT (obj);
1543 1543
1544 if (!GTK_IS_TREE (XGTK_OBJECT (obj)->object)) 1544 if (!GTK_IS_TREE (XGTK_OBJECT (obj)->object))
1545 { 1545 {
1546 signal_simple_error ("Object is not a GtkTree", obj); 1546 wtaerror ("Object is not a GtkTree", obj);
1547 }; 1547 };
1548 1548
1549 the_obj = GTK_TREE (XGTK_OBJECT (obj)->object); 1549 the_obj = GTK_TREE (XGTK_OBJECT (obj)->object);
1550 arg.type = gtk_type_from_name ("GtkTree"); 1550 arg.type = gtk_type_from_name ("GtkTree");
1551 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->root_tree); 1551 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->root_tree);
1562 1562
1563 CHECK_GTK_OBJECT (obj); 1563 CHECK_GTK_OBJECT (obj);
1564 1564
1565 if (!GTK_IS_TREE (XGTK_OBJECT (obj)->object)) 1565 if (!GTK_IS_TREE (XGTK_OBJECT (obj)->object))
1566 { 1566 {
1567 signal_simple_error ("Object is not a GtkTree", obj); 1567 wtaerror ("Object is not a GtkTree", obj);
1568 }; 1568 };
1569 1569
1570 the_obj = GTK_TREE (XGTK_OBJECT (obj)->object); 1570 the_obj = GTK_TREE (XGTK_OBJECT (obj)->object);
1571 arg.type = gtk_type_from_name ("GtkWidget"); 1571 arg.type = gtk_type_from_name ("GtkWidget");
1572 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->tree_owner); 1572 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->tree_owner);
1583 1583
1584 CHECK_GTK_OBJECT (obj); 1584 CHECK_GTK_OBJECT (obj);
1585 1585
1586 if (!GTK_IS_TREE (XGTK_OBJECT (obj)->object)) 1586 if (!GTK_IS_TREE (XGTK_OBJECT (obj)->object))
1587 { 1587 {
1588 signal_simple_error ("Object is not a GtkTree", obj); 1588 wtaerror ("Object is not a GtkTree", obj);
1589 }; 1589 };
1590 1590
1591 the_obj = GTK_TREE (XGTK_OBJECT (obj)->object); 1591 the_obj = GTK_TREE (XGTK_OBJECT (obj)->object);
1592 arg.type = gtk_type_from_name ("GtkListOfObject"); 1592 arg.type = gtk_type_from_name ("GtkListOfObject");
1593 GTK_VALUE_POINTER (arg) = the_obj->selection; 1593 GTK_VALUE_POINTER (arg) = the_obj->selection;
1604 1604
1605 CHECK_GTK_OBJECT (obj); 1605 CHECK_GTK_OBJECT (obj);
1606 1606
1607 if (!GTK_IS_TREE_ITEM (XGTK_OBJECT (obj)->object)) 1607 if (!GTK_IS_TREE_ITEM (XGTK_OBJECT (obj)->object))
1608 { 1608 {
1609 signal_simple_error ("Object is not a GtkTreeItem", obj); 1609 wtaerror ("Object is not a GtkTreeItem", obj);
1610 }; 1610 };
1611 1611
1612 the_obj = GTK_TREE_ITEM (XGTK_OBJECT (obj)->object); 1612 the_obj = GTK_TREE_ITEM (XGTK_OBJECT (obj)->object);
1613 arg.type = gtk_type_from_name ("GtkWidget"); 1613 arg.type = gtk_type_from_name ("GtkWidget");
1614 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->subtree); 1614 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->subtree);
1625 1625
1626 CHECK_GTK_OBJECT (obj); 1626 CHECK_GTK_OBJECT (obj);
1627 1627
1628 if (!GTK_IS_SCROLLED_WINDOW (XGTK_OBJECT (obj)->object)) 1628 if (!GTK_IS_SCROLLED_WINDOW (XGTK_OBJECT (obj)->object))
1629 { 1629 {
1630 signal_simple_error ("Object is not a GtkScrolledWindow", obj); 1630 wtaerror ("Object is not a GtkScrolledWindow", obj);
1631 }; 1631 };
1632 1632
1633 the_obj = GTK_SCROLLED_WINDOW (XGTK_OBJECT (obj)->object); 1633 the_obj = GTK_SCROLLED_WINDOW (XGTK_OBJECT (obj)->object);
1634 arg.type = gtk_type_from_name ("GtkWidget"); 1634 arg.type = gtk_type_from_name ("GtkWidget");
1635 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->hscrollbar); 1635 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->hscrollbar);
1646 1646
1647 CHECK_GTK_OBJECT (obj); 1647 CHECK_GTK_OBJECT (obj);
1648 1648
1649 if (!GTK_IS_SCROLLED_WINDOW (XGTK_OBJECT (obj)->object)) 1649 if (!GTK_IS_SCROLLED_WINDOW (XGTK_OBJECT (obj)->object))
1650 { 1650 {
1651 signal_simple_error ("Object is not a GtkScrolledWindow", obj); 1651 wtaerror ("Object is not a GtkScrolledWindow", obj);
1652 }; 1652 };
1653 1653
1654 the_obj = GTK_SCROLLED_WINDOW (XGTK_OBJECT (obj)->object); 1654 the_obj = GTK_SCROLLED_WINDOW (XGTK_OBJECT (obj)->object);
1655 arg.type = gtk_type_from_name ("GtkWidget"); 1655 arg.type = gtk_type_from_name ("GtkWidget");
1656 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->vscrollbar); 1656 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->vscrollbar);
1667 1667
1668 CHECK_GTK_OBJECT (obj); 1668 CHECK_GTK_OBJECT (obj);
1669 1669
1670 if (!GTK_IS_SCROLLED_WINDOW (XGTK_OBJECT (obj)->object)) 1670 if (!GTK_IS_SCROLLED_WINDOW (XGTK_OBJECT (obj)->object))
1671 { 1671 {
1672 signal_simple_error ("Object is not a GtkScrolledWindow", obj); 1672 wtaerror ("Object is not a GtkScrolledWindow", obj);
1673 }; 1673 };
1674 1674
1675 the_obj = GTK_SCROLLED_WINDOW (XGTK_OBJECT (obj)->object); 1675 the_obj = GTK_SCROLLED_WINDOW (XGTK_OBJECT (obj)->object);
1676 arg.type = gtk_type_from_name ("gboolean"); 1676 arg.type = gtk_type_from_name ("gboolean");
1677 GTK_VALUE_BOOL (arg) = the_obj->hscrollbar_visible; 1677 GTK_VALUE_BOOL (arg) = the_obj->hscrollbar_visible;
1688 1688
1689 CHECK_GTK_OBJECT (obj); 1689 CHECK_GTK_OBJECT (obj);
1690 1690
1691 if (!GTK_IS_SCROLLED_WINDOW (XGTK_OBJECT (obj)->object)) 1691 if (!GTK_IS_SCROLLED_WINDOW (XGTK_OBJECT (obj)->object))
1692 { 1692 {
1693 signal_simple_error ("Object is not a GtkScrolledWindow", obj); 1693 wtaerror ("Object is not a GtkScrolledWindow", obj);
1694 }; 1694 };
1695 1695
1696 the_obj = GTK_SCROLLED_WINDOW (XGTK_OBJECT (obj)->object); 1696 the_obj = GTK_SCROLLED_WINDOW (XGTK_OBJECT (obj)->object);
1697 arg.type = gtk_type_from_name ("gboolean"); 1697 arg.type = gtk_type_from_name ("gboolean");
1698 GTK_VALUE_BOOL (arg) = the_obj->vscrollbar_visible; 1698 GTK_VALUE_BOOL (arg) = the_obj->vscrollbar_visible;