[notification-daemon] nd-notification.c: fix deprecation warning



commit 76da74515c0c824586a59b975ff2da4fe4a9425f
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Thu Oct 30 16:32:23 2014 +0200

    nd-notification.c: fix deprecation warning

 configure.ac          |    2 +-
 src/nd-notification.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 4f7072c..9caadb4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -50,7 +50,7 @@ AC_DEFINE([GETTEXT_PACKAGE], [PACKAGE_TARNAME], [Define to the gettext package n
 dnl ---------------------------------------------------------------------------
 dnl Requirements for the daemon
 dnl ---------------------------------------------------------------------------
-REQ_GTK_VERSION=2.91.0
+REQ_GTK_VERSION=3.8.0
 REQ_GLIB_VERSION=2.27.0
 REQ_LIBCANBERRA_GTK_VERSION=0.4
 pkg_modules="
diff --git a/src/nd-notification.c b/src/nd-notification.c
index 29cf6a4..da5c9de 100644
--- a/src/nd-notification.c
+++ b/src/nd-notification.c
@@ -467,7 +467,7 @@ _notify_daemon_pixbuf_from_path (const char *path,
                                                            GTK_ICON_LOOKUP_USE_BUILTIN,
                                                            NULL);
 
-                        gtk_icon_info_free (icon_info);
+                        g_object_unref (icon_info);
                 }
         }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]