[gthumb] contact sheet: error if the theme file could not be loaded



commit 06c39346fda502bd37429006d4822dd977995661
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Fri Jan 11 11:19:07 2019 +0100

    contact sheet: error if the theme file could not be loaded
    
    Fixes: https://gitlab.gnome.org/GNOME/gthumb/issues/18

 extensions/contact_sheet/dlg-contact-sheet.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/extensions/contact_sheet/dlg-contact-sheet.c b/extensions/contact_sheet/dlg-contact-sheet.c
index dc5d4420..b830a166 100644
--- a/extensions/contact_sheet/dlg-contact-sheet.c
+++ b/extensions/contact_sheet/dlg-contact-sheet.c
@@ -354,6 +354,7 @@ add_themes_from_dir (DialogData *data,
                        g_free (buffer);
                        g_object_unref (file);
                        g_object_unref (file_info);
+                       continue;
                }
 
                theme = gth_contact_sheet_theme_new_from_key_file (key_file);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]