[gthumb] contact sheet: fixed scheme comparison



commit ca219a6b934b27fd701cfac18deee947493da2a3
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Tue Jan 8 17:26:58 2019 +0100

    contact sheet: fixed scheme comparison

 extensions/contact_sheet/dlg-contact-sheet.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/extensions/contact_sheet/dlg-contact-sheet.c b/extensions/contact_sheet/dlg-contact-sheet.c
index 18c6a922..dc5d4420 100644
--- a/extensions/contact_sheet/dlg-contact-sheet.c
+++ b/extensions/contact_sheet/dlg-contact-sheet.c
@@ -735,7 +735,7 @@ dlg_contact_sheet (GthBrowser *browser,
        g_free (s_value);
 
        location = gth_browser_get_location (data->browser);
-       if ((location != NULL) && g_file_has_uri_scheme (location, 'file'))
+       if ((location != NULL) && g_file_has_uri_scheme (location, "file"))
                s_value = g_file_get_uri (location);
        else
                s_value = _g_settings_get_uri (data->settings, PREF_CONTACT_SHEET_DESTINATION);


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