diff --git a/src/ui/resizepopup.c b/src/ui/resizepopup.c index 133285cb8..e3a6d9ca0 100644 --- a/src/ui/resizepopup.c +++ b/src/ui/resizepopup.c @@ -70,8 +70,6 @@ meta_ui_resize_popup_free (MetaResizePopup *popup) static void ensure_size_window (MetaResizePopup *popup) { - GtkWidget *frame; - if (popup->size_window) return; @@ -85,17 +83,12 @@ ensure_size_window (MetaResizePopup *popup) gtk_window_set_resizable (GTK_WINDOW (popup->size_window), TRUE); - frame = gtk_frame_new (NULL); - gtk_frame_set_shadow_type (GTK_FRAME (frame), GTK_SHADOW_OUT); - - gtk_container_add (GTK_CONTAINER (popup->size_window), frame); - popup->size_label = gtk_label_new (""); gtk_misc_set_padding (GTK_MISC (popup->size_label), 3, 3); - gtk_container_add (GTK_CONTAINER (frame), popup->size_label); + gtk_container_add (GTK_CONTAINER (popup->size_window), popup->size_label); - gtk_widget_show_all (frame); + gtk_widget_show (popup->size_label); } static void