[Glade-devel] [patch, glade3] rework widget creation

Content-Type: text/plain
Content-Transfer-Encoding: 7bit

The patch gives one reject with the current tree, but merging is
trivial, if you want me to send a rediffed patch let me know. 
After merging I see that this small additional patch is needed to not
get lots of asserts when adding a button to a table.

Content-Disposition: attachment; filename=no-warn.patch
Content-Type: text/plain; name=no-warn.patch; charset=UTF-8
Content-Transfer-Encoding: 7bit

--- gnome2/glade3/src/glade-command.c   2003-05-24 10:39:04.000000000 +0200
+++ glade3/src/glade-command.c  2003-05-24 10:32:49.000000000 +0200
@@ -623,6 +623,7 @@ glade_command_create_execute (GladeComma
                        widget->parent->class->placeholder_replace (GTK_WIDGET (placeholder),
+               glade_widget_set_default_packing_options (widget);
                me->placeholder = NULL;
@@ -747,7 +748,6 @@ glade_command_create (GladeWidgetClass *
        g_return_if_fail (parent != NULL);
        widget = glade_widget_new_from_class (class, parent->project, parent);
-       glade_widget_set_default_packing_options (widget);
        glade_command_create_delete_common (widget, placeholder, TRUE);


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