[gtk] dialog: Remove useless gtk_widget_show() call
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk] dialog: Remove useless gtk_widget_show() call
- Date: Wed, 25 Sep 2019 15:54:36 +0000 (UTC)
commit 5d8c8f33c07465cab00f0b2daf9f102ab1defdbc
Author: Timm Bäder <mail baedert org>
Date: Sun Sep 22 10:18:06 2019 +0200
dialog: Remove useless gtk_widget_show() call
gtk/gtkdialog.c | 2 --
1 file changed, 2 deletions(-)
---
diff --git a/gtk/gtkdialog.c b/gtk/gtkdialog.c
index f064cb5d40..6a6a03ecbd 100644
--- a/gtk/gtkdialog.c
+++ b/gtk/gtkdialog.c
@@ -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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]