Commit be4f8798 authored by Tristan Van Berkom's avatar Tristan Van Berkom

Fixed check for wrapperless objects returned by adaptor_get_children().


	* gladeui/glade-command.c: Fixed check for wrapperless objects returned by adaptor_get_children().


svn path=/trunk/; revision=2049
parent f8371bbb
......@@ -6,6 +6,8 @@
Enhanced model editing, now there is completion in type names, and column types are defined inline
with no add or delete keys, model data can be edited and navigated without using the pointer either.
* gladeui/glade-command.c: Fixed check for wrapperless objects returned by adaptor_get_children().
2008-11-23 Tristan Van Berkom <tvb@gnome.org>
* gladeui/glade-widget.c:
......
......@@ -941,9 +941,9 @@ get_all_parentless_reffed_widgets (GList *reffed, GladeWidget *widget)
for (l = children; l; l = l->next)
{
child = glade_widget_get_from_gobject (l->data);
if ((list = glade_widget_get_parentless_reffed_widgets (child)) != NULL)
reffed = g_list_concat (reffed, list);
if ((child = glade_widget_get_from_gobject (l->data)) != NULL)
if ((list = glade_widget_get_parentless_reffed_widgets (child)) != NULL)
reffed = g_list_concat (reffed, list);
reffed = get_all_parentless_reffed_widgets (reffed, child);
}
......
......@@ -3032,6 +3032,11 @@ embedded in another object</_tooltip>
<glade-widget-class-ref name="GtkComboBoxEntry"/>
<glade-widget-class-ref name="GtkProgressBar"/>
<glade-widget-class-ref name="GtkTextView"/>
<glade-widget-class-ref name="GtkTreeView"/>
<glade-widget-class-ref name="GtkIconView"/>
<glade-widget-class-ref name="GtkHandleBox"/>
<glade-widget-class-ref name="GtkStatusbar"/>
......@@ -3073,28 +3078,10 @@ embedded in another object</_tooltip>
<glade-widget-class-ref name="GtkTreeSelection"/>
</glade-widget-group>
<glade-widget-group name="gtk-view" title="Tree View">
<default-palette-state expanded="False"/>
<glade-widget-class-ref name="GtkTreeView"/>
<glade-widget-class-ref name="GtkIconView"/>
<glade-widget-class-ref name="GtkTreeViewColumn"/>
<glade-widget-class-ref name="GtkCellRendererText"/>
<glade-widget-class-ref name="GtkCellRendererAccel"/>
<glade-widget-class-ref name="GtkCellRendererCombo"/>
<glade-widget-class-ref name="GtkCellRendererSpin"/>
<glade-widget-class-ref name="GtkCellRendererPixbuf"/>
<glade-widget-class-ref name="GtkCellRendererProgress"/>
<glade-widget-class-ref name="GtkCellRendererToggle"/>
</glade-widget-group>
<glade-widget-group name="gtk-text" _title="Text Manipulation">
<glade-widget-group name="gtk-text" _title="Text Buffers">
<default-palette-state expanded="False"/>
<glade-widget-class-ref name="GtkTextView"/>
<glade-widget-class-ref name="GtkTextBuffer"/>
<glade-widget-class-ref name="GtkTextTag"/>
<glade-widget-class-ref name="GtkTextTagTable"/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment