Button: svg icon support

This commit is contained in:
o9000
2017-03-26 10:39:02 +02:00
parent a2c5553f4f
commit 0fc22b5cd6
3 changed files with 5 additions and 5 deletions

View File

@@ -601,7 +601,7 @@ void init_X11_post_config()
for (int i = 0; data_dirs[i] != NULL; i++) {
gchar *path = g_build_filename(data_dirs[i], "tint2", "default_icon.png", NULL);
if (g_file_test(path, G_FILE_TEST_EXISTS))
default_icon = imlib_load_image(path);
default_icon = load_image(path, TRUE);
g_free(path);
}
if (!default_icon) {