[gtk/wip/exalm/test: 36/37] tests: Remove redundant image from testdialog



commit ea9cea9be7bbba00cc9120cc32350be0ed94087a
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Mon May 11 20:03:51 2020 +0500

    tests: Remove redundant image from testdialog

 tests/testdialog.c | 4 ----
 1 file changed, 4 deletions(-)
---
diff --git a/tests/testdialog.c b/tests/testdialog.c
index bc9b2af188..ec467c4a60 100644
--- a/tests/testdialog.c
+++ b/tests/testdialog.c
@@ -24,7 +24,6 @@ static void
 show_message_dialog1a (GtkWindow *parent)
 {
   GtkWidget *dialog;
-  GtkWidget *image;
 
   dialog = GTK_WIDGET (gtk_message_dialog_new (parent,
                                                GTK_DIALOG_MODAL|
@@ -34,9 +33,6 @@ show_message_dialog1a (GtkWindow *parent)
                                                GTK_BUTTONS_OK,
                                                "The system network services are not compatible with this 
version."));
 
-  image = gtk_image_new_from_icon_name ("computer-fail");
-  gtk_widget_show (image);
-
   gtk_dialog_run (GTK_DIALOG (dialog));
   gtk_widget_destroy (dialog);
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]