diff options
author | Tristan Van Berkom <tristan.van.berkom@gmail.com> | 2010-12-30 23:36:00 +0900 |
---|---|---|
committer | Tristan Van Berkom <tristan.van.berkom@gmail.com> | 2010-12-30 23:36:00 +0900 |
commit | 52718afdab724d7cf51da1da98be3a6d621446e1 (patch) | |
tree | 0a436507c0caa13c06979a2eb35df283961e7fec | |
parent | 2b0b886a4916a6c9cc6bc35835aed1daabb69d81 (diff) | |
download | glade-52718afdab724d7cf51da1da98be3a6d621446e1.tar.gz |
* gladeui/glade-base-editor.c: Remove restriction for only GtkContainer widgets.
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | gladeui/glade-base-editor.c | 4 |
2 files changed, 2 insertions, 4 deletions
@@ -7,6 +7,8 @@ * plugins/gtk+/glade-tool-button-editor.c: Fixed unbalanced refcount of a sizegroup in the toolbutton editor. + * gladeui/glade-base-editor.c: Remove restriction for only GtkContainer widgets. + 2010-12-29 Tristan Van Berkom <tristanvb@openismus.com> * gladeui/glade-design-view.c: Made loading progress bar nicer looking and ellipsizing. diff --git a/gladeui/glade-base-editor.c b/gladeui/glade-base-editor.c index 88f9d43c..5bd5e854 100644 --- a/gladeui/glade-base-editor.c +++ b/gladeui/glade-base-editor.c @@ -1872,11 +1872,7 @@ glade_base_editor_new (GObject *container, gchar *name; va_list args; - g_return_val_if_fail (GTK_IS_CONTAINER (container), NULL); - gcontainer = glade_widget_get_from_gobject (container); - g_return_val_if_fail (GLADE_IS_WIDGET (gcontainer), NULL); - editor = GLADE_BASE_EDITOR (g_object_new (GLADE_TYPE_BASE_EDITOR, NULL)); e = editor->priv; |