glade3 r2183 - in trunk: . plugins/gtk+



Author: tvb
Date: Tue Apr  7 16:24:34 2009
New Revision: 2183
URL: http://svn.gnome.org/viewvc/glade3?rev=2183&view=rev

Log:

	* plugins/gtk+/glade-gtk.c: GtkWindow adaptor was skipping GtkWidget
	adaptor when chaining up in ->write_widget() (causeing atk props,
	accelerators and signals in libglade to be missed - bug 578211).



Modified:
   trunk/ChangeLog
   trunk/plugins/gtk+/glade-gtk.c

Modified: trunk/plugins/gtk+/glade-gtk.c
==============================================================================
--- trunk/plugins/gtk+/glade-gtk.c	(original)
+++ trunk/plugins/gtk+/glade-gtk.c	Tue Apr  7 16:24:34 2009
@@ -5003,7 +5003,7 @@
 		return;
 
 	/* First chain up and read in all the normal properties.. */
-        GWA_GET_CLASS (G_TYPE_OBJECT)->read_widget (adaptor, widget, node);
+        GWA_GET_CLASS (GTK_TYPE_WIDGET)->read_widget (adaptor, widget, node);
 
 	glade_gtk_window_read_accel_groups (widget, node);
 }
@@ -5050,7 +5050,7 @@
 		return;
 
 	/* First chain up and read in all the normal properties.. */
-        GWA_GET_CLASS (G_TYPE_OBJECT)->write_widget (adaptor, widget, context, node);
+        GWA_GET_CLASS (GTK_TYPE_WIDGET)->write_widget (adaptor, widget, context, node);
 
 	glade_gtk_window_write_accel_groups (widget, context, node);
 }



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