libjxl init

This commit is contained in:
sulincix committed 2023-04-02 20:03:30 +00:00
1 parent f6702d2a29
commit a0db98e63b
3 files changed
+56 -2

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
diff --git a/src/widget-theme.c b/src/widget-theme.c
index 3331ae4..bceadfe 100644
--- a/src/widget-theme.c
+++ b/src/widget-theme.c
@@ -36,7 +36,7 @@ static GSList* load_themes_in_dir(const char* theme_dir, GSList* themes)
if(!g_slist_find_custom(themes, name, (GCompareFunc)strcmp))
{
/* test if this is a gtk theme */
- char* gtkrc = g_build_filename(theme_dir, name, "gtk-2.0/gtkrc", NULL);
+ char* gtkrc = g_build_filename(theme_dir, name, "gtk-3.0/gtk.css", NULL);
if(g_file_test(gtkrc, G_FILE_TEST_EXISTS))
themes = g_slist_prepend(themes, g_strdup(name));
g_free(gtkrc);