summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/eggfileformatchooser.c7
1 files changed, 1 insertions, 6 deletions
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,