diff options
| author | Viktor Odintsev <ninetls@xfce.org> | 2017-07-20 02:20:00 +0300 |
|---|---|---|
| committer | Viktor Odintsev <ninetls@xfce.org> | 2017-07-20 02:20:00 +0300 |
| commit | 21760d00c8e255f4bf83ddce1f387b1c034599f4 (patch) | |
| tree | 69b2771329c48810f4749f26170129cfccb20345 | |
| parent | b4bf8382cd838b16a5d85fded92de1b6291bb630 (diff) | |
| download | xfce4-statusnotifier-plugin-21760d00c8e255f4bf83ddce1f387b1c034599f4.tar.gz | |
Always use preferred icon size for GtkIconTheme
| -rw-r--r-- | panel-plugin/sn-icon-box.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/panel-plugin/sn-icon-box.c b/panel-plugin/sn-icon-box.c index 8326f91..2ea64b1 100644 --- a/panel-plugin/sn-icon-box.c +++ b/panel-plugin/sn-icon-box.c @@ -270,14 +270,14 @@ sn_icon_box_apply_icon (GtkWidget *image, { work_pixbuf = gtk_icon_theme_load_icon (icon_theme_from_path, sn_preferred_name (), - -1, 0, NULL); + icon_size, 0, NULL); } if (work_pixbuf == NULL) { icon_info = gtk_icon_theme_lookup_icon (icon_theme, sn_preferred_name (), - 16, 0); + icon_size, 0); if (icon_info != NULL) { gtk_image_set_from_icon_name (GTK_IMAGE (image), |