summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2022-11-28 13:43:21 -0500
committerMatthias Clasen <mclasen@redhat.com>2022-11-28 14:34:55 -0500
commit1ee39d75551feab0d9730bea3a086f7e9a7134f1 (patch)
tree3376903ed9e71cda94a41534db345b44004d20a9 /tools
parent1018b437244877e7c3de85122dafa72e8ccd36e9 (diff)
downloadgtk+-1ee39d75551feab0d9730bea3a086f7e9a7134f1.tar.gz
tools: Stop using gtk_widget_show/hide
Diffstat (limited to 'tools')
-rw-r--r--tools/gtk-builder-tool-screenshot.c2
1 files changed, 1 insertions, 1 deletions
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));