summaryrefslogtreecommitdiff
path: root/pidgin/libpidgin.c
diff options
context:
space:
mode:
authorGary Kramlich <grim@reaperworld.com>2021-08-16 03:02:37 -0500
committerGary Kramlich <grim@reaperworld.com>2021-08-16 03:02:37 -0500
commite5007602bff565b22a66a85c271bdeefd7494b03 (patch)
tree839099c30deac14a7e7a3264c35221142241530b /pidgin/libpidgin.c
parent8d109155e15fb4aa24d555011237b7fb865a3438 (diff)
downloadpidgin-e5007602bff565b22a66a85c271bdeefd7494b03.tar.gz
Start embedding our icon theme by starting with the status icons used in PidginPresenceIcon
Testing Done: Modified an icon and verified it was being used (and of course reverted). Reviewed at https://reviews.imfreedom.org/r/885/
Diffstat (limited to 'pidgin/libpidgin.c')
-rw-r--r--pidgin/libpidgin.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/pidgin/libpidgin.c b/pidgin/libpidgin.c
index 621637dbc6..f1fb6b837f 100644
--- a/pidgin/libpidgin.c
+++ b/pidgin/libpidgin.c
@@ -165,11 +165,13 @@ debug_init(void)
static void
pidgin_ui_init(void)
{
+ GtkIconTheme *theme = NULL;
gchar *path;
+ theme = gtk_icon_theme_get_default();
+
path = g_build_filename(PURPLE_DATADIR, "pidgin", "icons", NULL);
- gtk_icon_theme_prepend_search_path(gtk_icon_theme_get_default(), path);
- gtk_icon_theme_add_resource_path(gtk_icon_theme_get_default(), path);
+ gtk_icon_theme_prepend_search_path(theme, path);
g_free(path);
pidgin_stock_init();