summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/gtk+/glade-gtk-container.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/plugins/gtk+/glade-gtk-container.c b/plugins/gtk+/glade-gtk-container.c
index eb6552a3..18a22826 100644
--- a/plugins/gtk+/glade-gtk-container.c
+++ b/plugins/gtk+/glade-gtk-container.c
@@ -87,11 +87,7 @@ glade_gtk_container_add_verify (GladeWidgetAdaptor *adaptor,
/* GtkBox and GtkGrid size is adjusted automaticaly in GladeCommand */
return TRUE;
else if (GLADE_WIDGET_ADAPTOR_USE_PLACEHOLDERS (adaptor) &&
- /* Special case GtkBin since Windows can hace a placeholder in the titlebar */
- ((GTK_IS_BIN (container) &&
- (bin_child = gtk_bin_get_child (GTK_BIN (container))) &&
- !GLADE_IS_PLACEHOLDER(bin_child)) ||
- glade_util_count_placeholders (gwidget) == 0))
+ (glade_util_count_placeholders (gwidget) == 0))
{
if (user_feedback)
glade_util_ui_message (glade_app_get_window (),