openfetion (2.2.1-3.2) 02-indicate-gtk-0.7.patch

Summary

 CMakeLists.txt |    2 +-
 src/fx_main.c  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

    
download this patch

Patch contents

From: Evgeni Golov <evgeni@debian.org>
Debian-Bug: http://bugs.debian.org/673812
Last-Update: 2012-05-21
Subject: port openfetion to new libindicate-gtk 0.7
 * change the module to check via pkg-config to libindicate-gtk-0.7
 * use indicate_gtk_indicator_set_property_icon instead of
   indicate_indicator_set_property_icon

Index: openfetion-2.2.1/CMakeLists.txt
===================================================================
--- openfetion-2.2.1.orig/CMakeLists.txt	2011-05-09 10:14:28.000000000 +0200
+++ openfetion-2.2.1/CMakeLists.txt	2012-05-15 17:59:09.000000000 +0200
@@ -82,7 +82,7 @@
 if(WITH_INDICATE)
 	pkg_check_modules(INDICATE indicate)
 	pkg_check_modules(INDICATE_GTK indicate-gtk)
-	pkg_check_modules(INDICATE_GTK_NEW indicate-gtk-0.5)
+	pkg_check_modules(INDICATE_GTK_NEW indicate-gtk-0.7)
 endif(WITH_INDICATE)
 
 ##########################################################################
Index: openfetion-2.2.1/src/fx_main.c
===================================================================
--- openfetion-2.2.1.orig/src/fx_main.c	2011-05-09 10:14:28.000000000 +0200
+++ openfetion-2.2.1/src/fx_main.c	2012-05-15 17:59:09.000000000 +0200
@@ -692,7 +692,7 @@
 	/* set icon */
 	snprintf(portrait, sizeof(portrait) - 1, "%s/%s.jpg", fxmain->user->config->iconPath, sid);
 	pixbuf = gdk_pixbuf_new_from_file(portrait, NULL);
-	indicate_indicator_set_property_icon(indicator, INDICATE_INDICATOR_MESSAGES_PROP_ICON, pixbuf);
+	indicate_gtk_indicator_set_property_icon(indicator, INDICATE_INDICATOR_MESSAGES_PROP_ICON, pixbuf);
 	g_object_unref(pixbuf);
 
 	g_signal_connect(G_OBJECT(indicator), INDICATE_INDICATOR_SIGNAL_DISPLAY,