patch for HEAD gtk+



Here is a patch to make gdk-pixbuf in HEAD gtk+ build against HEAD
glib. g_type_register_static has a new argument (of GTypeInfo). I set it
to 0, since I don't think G_TYPE_FLAG_ABSTRACT would be appropriate for
it (although honestly, I don't know. :)

Joe

Index: gdk-pixbuf-animation.c
===================================================================
RCS file: /cvs/gnome/gtk+/gdk-pixbuf/gdk-pixbuf-animation.c,v
retrieving revision 1.12
diff -u -r1.12 gdk-pixbuf-animation.c
--- gdk-pixbuf-animation.c      2000/10/18 18:42:52     1.12
+++ gdk-pixbuf-animation.c      2000/10/25 21:25:44
@@ -53,7 +53,7 @@
       
                 object_type = g_type_register_static (G_TYPE_OBJECT, 
						       "GdkPixbufAnimation",
-                                                      &object_info);
+                                                      &object_info, 0);
         }
   
         return object_type;
Index: gdk-pixbuf.c
===================================================================
RCS file: /cvs/gnome/gtk+/gdk-pixbuf/gdk-pixbuf.c,v
retrieving revision 1.36
diff -u -r1.36 gdk-pixbuf.c
--- gdk-pixbuf.c        2000/10/06 18:19:18     1.36
+++ gdk-pixbuf.c        2000/10/25 21:25:44
@ -56,7 +56,7 @@
       
                 object_type = g_type_register_static (G_TYPE_OBJECT,
                                                       "GdkPixbuf",
-                                                      &object_info);
+                                                      &object_info, 0);
         }
   
         return object_type;







[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]