diff options
author | Tristan Van Berkom <tvb@src.gnome.org> | 2005-08-09 15:51:59 +0000 |
---|---|---|
committer | Tristan Van Berkom <tvb@src.gnome.org> | 2005-08-09 15:51:59 +0000 |
commit | 123361fe3508dfb3b4637bfbf133c0525452ce85 (patch) | |
tree | 87965201636f949f99707c2a2569bcb05ed0c2ad /src/glade-utils.c | |
parent | 7f477ebbcd2b19622e352e050322230724877548 (diff) | |
download | glade-123361fe3508dfb3b4637bfbf133c0525452ce85.tar.gz |
Fixed a forgotten piece of code that had to change for fixed-manager to
* src/glade-utils.c: Fixed a forgotten piece of code that had to change for
fixed-manager to work properly with paste.
Diffstat (limited to 'src/glade-utils.c')
-rw-r--r-- | src/glade-utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glade-utils.c b/src/glade-utils.c index d4feb69c..007fa4a7 100644 --- a/src/glade-utils.c +++ b/src/glade-utils.c @@ -1080,7 +1080,7 @@ glade_util_paste_clipboard (GladePlaceholder *placeholder, } /* Ensure enough placeholders are available */ - if (parent && (g_object_get_data (G_OBJECT (parent), "manager")) != NULL && + if (parent && parent->manager) != NULL && gtkcontainer_relations != 1) { glade_util_ui_warn (glade_default_app_get_window (), @@ -1089,7 +1089,7 @@ glade_util_paste_clipboard (GladePlaceholder *placeholder, return; } - if (parent && (g_object_get_data (G_OBJECT (parent), "manager")) == NULL && + if (parent && parent->manager == NULL && glade_util_count_placeholders (parent) < gtkcontainer_relations) { glade_util_ui_warn (glade_default_app_get_window (), |