[glade3/glade-3-8] * gladeui/glade-base-editor.c: Remove restriction for only GtkContainer widgets.
- From: Tristan Van Berkom <tvb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glade3/glade-3-8] * gladeui/glade-base-editor.c: Remove restriction for only GtkContainer widgets.
- Date: Thu, 30 Dec 2010 14:37:20 +0000 (UTC)
commit 52718afdab724d7cf51da1da98be3a6d621446e1
Author: Tristan Van Berkom <tristan van berkom gmail com>
Date: Thu Dec 30 23:36:00 2010 +0900
* gladeui/glade-base-editor.c: Remove restriction for only GtkContainer widgets.
ChangeLog | 2 ++
gladeui/glade-base-editor.c | 4 ----
2 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 113f982..adb20ae 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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 88f9d43..5bd5e85 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]