vlc | branch: master | Alexandre Janniaux <[email protected]> | Sat Aug 31 10:16:37 2019 +0200| [1d0986c369b2552ce9805939ffeabb8a59747f85] | committer: Thomas Guillem
notify: replace deprecated gdk_pixbuf_unref From [1]: > gdk_pixbuf_unref has been deprecated since version 2.0 and should > not be used in newly-written code. > > Use g_object_unref(). [1]: https://developer.gnome.org/gdk-pixbuf/stable/gdk-pixbuf-Reference-Counting-and-Memory-Mangement.html#gdk-pixbuf-unref Signed-off-by: Thomas Guillem <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1d0986c369b2552ce9805939ffeabb8a59747f85 --- modules/notify/notify.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/notify/notify.c b/modules/notify/notify.c index 1bab4350af..b3f52123b6 100644 --- a/modules/notify/notify.c +++ b/modules/notify/notify.c @@ -345,7 +345,7 @@ static int Notify( vlc_object_t *p_this, const char *psz_temp, GdkPixbuf *pix, if( pix ) { notify_notification_set_icon_from_pixbuf( notification, pix ); - gdk_pixbuf_unref( pix ); + g_object_unref( pix ); } /* Adds previous and next buttons in the notification if actions are supported. */ _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
