summaryrefslogtreecommitdiff
path: root/tumbler/tumbler-util.h
diff options
context:
space:
mode:
authorGaël Bonithon <gael@xfce.org>2021-12-29 10:48:14 +0100
committerGaël Bonithon <gael@xfce.org>2021-12-29 13:09:43 +0100
commit7fdab65f7a2144a7cae4d49bea13cea3644dfc3c (patch)
tree8bf0045d59c05be0f26d78ffb4756e4e9ddfa997 /tumbler/tumbler-util.h
parent270289b3a3f2f9ac7891f26135bae6d5e574c868 (diff)
downloadtumbler-7fdab65f7a2144a7cae4d49bea13cea3644dfc3c.tar.gz
desktop-thumbnailer: Allow to override configuration in desktop files
The "X-Tumbler Settings" group is searched in each desktop file with the same keys as in `tumbler.rc`, where the default configuration is now. Closes #52.
Diffstat (limited to 'tumbler/tumbler-util.h')
-rw-r--r--tumbler/tumbler-util.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/tumbler/tumbler-util.h b/tumbler/tumbler-util.h
index 5f278db..e95d59a 100644
--- a/tumbler/tumbler-util.h
+++ b/tumbler/tumbler-util.h
@@ -40,6 +40,8 @@ gchar **tumbler_util_get_supported_uri_schemes (void) G_GNUC_MALLOC;
GKeyFile *tumbler_util_get_settings (void) G_GNUC_MALLOC;
+GSList *tumbler_util_locations_from_strv (gchar **array);
+
GList *tumbler_util_get_thumbnailer_dirs (void);
gboolean tumbler_util_guess_is_sparse (TumblerFileInfo *info);
@@ -53,6 +55,9 @@ GdkPixbuf *tumbler_util_scale_pixbuf (GdkPixbuf *source,
gint dest_width,
gint dest_height);
+gpointer tumbler_util_object_ref (gconstpointer src,
+ gpointer data);
+
G_END_DECLS
#endif /* !__TUMBLER_UTIL_H__ */