Gtk+ HEAD broken



Without this patch Gtk+ cvs size requests doesn't seem to work. Dunno if
it is 100% correct.

/ Alex

Index: gtkwidget.c
===================================================================
RCS file: /cvs/gnome/gtk+/gtk/gtkwidget.c,v
retrieving revision 1.206
diff -u -p -r1.206 gtkwidget.c
--- gtkwidget.c	2001/04/02 03:47:24	1.206
+++ gtkwidget.c	2001/04/02 08:02:10
@@ -571,7 +571,7 @@ gtk_widget_class_init (GtkWidgetClass *k
 		    GTK_SIGNAL_OFFSET (GtkWidgetClass, size_request),
 		    gtk_marshal_VOID__BOXED,
 		    GTK_TYPE_NONE, 1,
-		    GTK_TYPE_REQUISITION | G_VALUE_NOCOPY_CONTENTS);
+		    GTK_TYPE_REQUISITION | G_SIGNAL_TYPE_STATIC_SCOPE);
   widget_signals[SIZE_ALLOCATE] = 
     gtk_signal_new ("size_allocate",
 		    GTK_RUN_FIRST,





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