summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-11-24 14:44:10 +0100
committerinfirit <[email protected]>2014-11-24 14:44:10 +0100
commit9b0a53fce2d27bfae370f390a5b970f714755766 (patch)
tree7933369c1b73ddfee15f87c16907689c703549eb /src
parentaee98cef3af95f60587d7331b3101ee7a60e7714 (diff)
downloadengrampa-9b0a53fce2d27bfae370f390a5b970f714755766.tar.bz2
engrampa-9b0a53fce2d27bfae370f390a5b970f714755766.tar.xz
eggfileformatchooser: Remove pointless check
Diffstat (limited to 'src')
-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,