changeset 32010:c66910c13433

Fix build breakage from bfae54755d0a683ab945fea4666da04aeb1113d1.
author andrew.victor@mxit.com
date Thu, 01 Sep 2011 06:56:17 +0000
parents 4676bbc64e36
children 2f014dbda8a6 4d5e1dc93265
files libpurple/util.c libpurple/util.h
diffstat 2 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/util.c	Thu Sep 01 06:29:47 2011 +0000
+++ b/libpurple/util.c	Thu Sep 01 06:56:17 2011 +0000
@@ -113,7 +113,8 @@
 	return act->label;
 }
 
-PurpleCallback purple_menu_action_get_callback(const PurpleMenuAction *act)
+PurpleCallback *
+purple_menu_action_get_callback(const PurpleMenuAction *act)
 {
 	g_return_val_if_fail(act != NULL, NULL);
 
--- a/libpurple/util.h	Thu Sep 01 06:29:47 2011 +0000
+++ b/libpurple/util.h	Thu Sep 01 06:56:17 2011 +0000
@@ -103,7 +103,7 @@
  *
  * @return The callback function.
  */
-PurpleCallback purple_menu_action_get_callback(const PurpleMenuAction *act);
+PurpleCallback *purple_menu_action_get_callback(const PurpleMenuAction *act);
 
 /**
  * Returns the data stored in the PurpleMenuAction.