[glade/glade-3-8] Fixing previous commit to work for glade_gtk_widget_action_activate()



commit ab138983dbe90be427c88b86f87bc429e43754f2
Author: Tristan Van Berkom <tristan van berkom gmail com>
Date:   Sun Oct 9 14:07:32 2011 -0400

    Fixing previous commit to work for glade_gtk_widget_action_activate()

 plugins/gtk+/glade-gtk.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plugins/gtk+/glade-gtk.c b/plugins/gtk+/glade-gtk.c
index aa8b517..8903fa9 100644
--- a/plugins/gtk+/glade-gtk.c
+++ b/plugins/gtk+/glade-gtk.c
@@ -1134,12 +1134,12 @@ glade_gtk_widget_action_activate (GladeWidgetAdaptor *adaptor,
             return;
 
           glade_command_push_group (_("Adding parent %s for %s"),
-                                    glade_widget_adaptor_get_title (adaptor), 
+                                    adaptor->title, 
 				    glade_widget_get_name (gwidget));
 
           /* Record packing properties */
           saved_props =
-	    glade_widget_dup_properties (gwidget, glade_widget_get_packing_properties (gwidget),
+	    glade_widget_dup_properties (gwidget, gwidget->packing_properties,
 					 FALSE, FALSE, FALSE);
 
 



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