comparison src/gtk-xemacs.c @ 2054:91d4c8c65a0f

[xemacs-hg @ 2004-05-02 04:06:51 by malcolmp] Fix warnings and errors when building GTK using C++ and --use-union-type.
author malcolmp
date Sun, 02 May 2004 04:07:01 +0000
parents b531bf8658e9
children 95fee4a1420e
comparison
equal deleted inserted replaced
2053:11e709117623 2054:91d4c8c65a0f
94 GtkWidget* 94 GtkWidget*
95 gtk_xemacs_new (struct frame *f) 95 gtk_xemacs_new (struct frame *f)
96 { 96 {
97 GtkXEmacs *xemacs; 97 GtkXEmacs *xemacs;
98 98
99 xemacs = gtk_type_new (gtk_xemacs_get_type ()); 99 xemacs = (GtkXEmacs*) gtk_type_new (gtk_xemacs_get_type ());
100 xemacs->f = f; 100 xemacs->f = f;
101 101
102 return GTK_WIDGET (xemacs); 102 return GTK_WIDGET (xemacs);
103 } 103 }
104 104
319 319
320 children = fixed->children; 320 children = fixed->children;
321 321
322 while (children) 322 while (children)
323 { 323 {
324 child = children->data; 324 child = (GtkFixedChild*) children->data;
325 children = children->next; 325 children = children->next;
326 /* #### This is what causes the scrollbar flickering! 326 /* #### This is what causes the scrollbar flickering!
327 Evidently the scrollbars pretty much take care of drawing 327 Evidently the scrollbars pretty much take care of drawing
328 themselves in most cases. Then we come along and tell them 328 themselves in most cases. Then we come along and tell them
329 to redraw again! 329 to redraw again!