diff 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
line wrap: on
line diff
--- a/src/gtk-xemacs.c	Sat May 01 21:50:40 2004 +0000
+++ b/src/gtk-xemacs.c	Sun May 02 04:07:01 2004 +0000
@@ -96,7 +96,7 @@
 {
   GtkXEmacs *xemacs;
 
-  xemacs = gtk_type_new (gtk_xemacs_get_type ());
+  xemacs = (GtkXEmacs*) gtk_type_new (gtk_xemacs_get_type ());
   xemacs->f = f;
 
   return GTK_WIDGET (xemacs);
@@ -321,7 +321,7 @@
 
     while (children)
       {
-	child = children->data;
+	child = (GtkFixedChild*) children->data;
 	children = children->next;
 	/* #### This is what causes the scrollbar flickering!
 	   Evidently the scrollbars pretty much take care of drawing