Fix #982: random crash (SIGSEGV) while running two instances of geeqie
[geeqie.git] / src / layout_util.c
index e77b8c0..60b5312 100644 (file)
@@ -4167,10 +4167,12 @@ void layout_bars_close(LayoutWindow *lw)
        layout_bar_close(lw);
 }
 
-static void layout_exif_window_destroy(GtkWidget *widget, gpointer data)
+static gboolean layout_exif_window_destroy(GtkWidget *widget, gpointer data)
 {
        LayoutWindow *lw = data;
        lw->exif_window = NULL;
+
+       return TRUE;
 }
 
 void layout_exif_window_new(LayoutWindow *lw)