From 9b0a53fce2d27bfae370f390a5b970f714755766 Mon Sep 17 00:00:00 2001 From: infirit Date: Mon, 24 Nov 2014 14:44:10 +0100 Subject: eggfileformatchooser: Remove pointless check --- src/eggfileformatchooser.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src') diff --git a/src/eggfileformatchooser.c b/src/eggfileformatchooser.c index 7dfba1f..7187471 100644 --- a/src/eggfileformatchooser.c +++ b/src/eggfileformatchooser.c @@ -600,14 +600,9 @@ error_message_with_parent (GtkWindow *parent, const char *msg, const char *detail) { - gboolean first_call = TRUE; GtkWidget *dialog; - if (first_call) - { - g_warning ("%s: Merge with the code in Gtk{File,Recent}ChooserDefault.", G_STRLOC); - first_call = FALSE; - } + g_warning ("%s: Merge with the code in Gtk{File,Recent}ChooserDefault.", G_STRLOC); dialog = gtk_message_dialog_new (parent, GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT, -- cgit v1.2.1