summaryrefslogtreecommitdiff
path: root/aoview/aoview_log.c
diff options
context:
space:
mode:
Diffstat (limited to 'aoview/aoview_log.c')
-rw-r--r--aoview/aoview_log.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/aoview/aoview_log.c b/aoview/aoview_log.c
index a9300f61..0afdb64e 100644
--- a/aoview/aoview_log.c
+++ b/aoview/aoview_log.c
@@ -92,7 +92,8 @@ aoview_log_open_failed(char *name)
"\"%s\"", utf8_file);
if (utf8_file != name)
g_free(utf8_file);
- gtk_widget_show(GTK_WIDGET(log_fail_dialog));
+ gtk_dialog_run(GTK_DIALOG(log_fail_dialog));
+ gtk_widget_hide(GTK_WIDGET(log_fail_dialog));
aoview_log_failed = 1;
}