[vlc-commits] notify: fix path to VLC icon

Rémi Denis-Courmont git at videolan.org
Tue Mar 6 20:17:33 CET 2018


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Mar  5 23:13:20 2018 +0200| [1f252f5433da8c93450ef5295e496f9c249be50e] | committer: Rémi Denis-Courmont

notify: fix path to VLC icon

As per ebbb05512f9c16812db5808fcba9a4678973d21f.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1f252f5433da8c93450ef5295e496f9c249be50e
---

 modules/notify/notify.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/notify/notify.c b/modules/notify/notify.c
index 5c5092dbd9..3bf8c6dd9f 100644
--- a/modules/notify/notify.c
+++ b/modules/notify/notify.c
@@ -233,8 +233,8 @@ static int ItemChange( vlc_object_t *p_this, const char *psz_var,
         {
         /* Load icon from share/ */
             GError *p_error = NULL;
-            char *psz_pixbuf = config_GetSysPath(VLC_PKG_DATA_DIR,
-                                                 "icons/48x48/"PACKAGE".png");
+            char *psz_pixbuf = config_GetSysPath(VLC_SYSDATA_DIR,
+                                     "icons/hicolor/48x48/"PACKAGE_NAME".png");
             if (psz_pixbuf != NULL)
             {
                 pix = gdk_pixbuf_new_from_file( psz_pixbuf, &p_error );



More information about the vlc-commits mailing list