From ea9cea9be7bbba00cc9120cc32350be0ed94087a Mon Sep 17 00:00:00 2001 From: Alexander Mikhaylenko Date: Mon, 11 May 2020 20:03:51 +0500 Subject: [PATCH] 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); }