diff --git a/tools/gtk-builder-tool-screenshot.c b/tools/gtk-builder-tool-screenshot.c index d92f06f50b..99e033ef68 100644 --- a/tools/gtk-builder-tool-screenshot.c +++ b/tools/gtk-builder-tool-screenshot.c @@ -285,7 +285,7 @@ screenshot_file (const char *filename, target = widget; } - gtk_widget_show (window); + gtk_widget_set_visible (window, TRUE); if (menu_button) gtk_menu_button_popup (GTK_MENU_BUTTON (menu_button));