dialog: Remove useless gtk_widget_show() call
authorTimm Bäder <mail@baedert.org>
Sun, 22 Sep 2019 08:18:06 +0000 (10:18 +0200)
committerTimm Bäder <mail@baedert.org>
Wed, 25 Sep 2019 15:51:52 +0000 (17:51 +0200)
gtk/gtkdialog.c

index f064cb5d408cd2728c04409cb6e194f5cee14da8..6a6a03ecbd594193ffbe166f1c670930915a63c6 100644 (file)
@@ -901,8 +901,6 @@ gtk_dialog_add_button (GtkDialog   *dialog,
   button = gtk_button_new_with_label (button_text);
   gtk_button_set_use_underline (GTK_BUTTON (button), TRUE);
 
-  gtk_widget_show (button);
-
   gtk_dialog_add_action_widget (dialog, button, response_id);
 
   return button;