diff options
author | Tristan Van Berkom <tvb@src.gnome.org> | 2009-04-07 16:24:34 +0000 |
---|---|---|
committer | Tristan Van Berkom <tvb@src.gnome.org> | 2009-04-07 16:24:34 +0000 |
commit | d63417b80c6846ce9be0d528f36fbc0dfa5f5870 (patch) | |
tree | 3971b9244cccbeac3563be95925126a11793c89d | |
parent | 790e55c9e9874273a1cf89d674850840be536b42 (diff) | |
download | glade-d63417b80c6846ce9be0d528f36fbc0dfa5f5870.tar.gz |
GtkWindow adaptor was skipping GtkWidget adaptor when chaining up in
* 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).
svn path=/trunk/; revision=2183
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | plugins/gtk+/glade-gtk.c | 4 |
2 files changed, 8 insertions, 2 deletions
@@ -1,3 +1,9 @@ +2009-04-07 Tristan Van Berkom <tvb@gnome.org> + + * 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). + 2009-04-06 Tristan Van Berkom <tvb@gnome.org> * plugins/gtk+/glade-button-editor.c: Properly initialize GValue on diff --git a/plugins/gtk+/glade-gtk.c b/plugins/gtk+/glade-gtk.c index 966a433c..7880db14 100644 --- a/plugins/gtk+/glade-gtk.c +++ b/plugins/gtk+/glade-gtk.c @@ -5003,7 +5003,7 @@ glade_gtk_window_read_widget (GladeWidgetAdaptor *adaptor, 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 @@ glade_gtk_window_write_widget (GladeWidgetAdaptor *adaptor, 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); } |