tools: Stop using gtk_widget_show/hide

This commit is contained in:
Matthias Clasen 2022-11-28 13:43:21 -05:00
parent 1018b43724
commit 1ee39d7555

View File

@ -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));