aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-02-06 16:26:05 +0100
committerTed Gould <ted@canonical.com>2009-02-06 16:26:05 +0100
commitc06fbefb69e7b678b080b9bf8311cebf5c76f327 (patch)
treefce0a8d71233f080e9b132dff205405ebbe0b4ff
parent24824955dd2a3dec5c624fb8c702b9ddcbce9493 (diff)
downloadayatana-indicator-messages-c06fbefb69e7b678b080b9bf8311cebf5c76f327.tar.gz
ayatana-indicator-messages-c06fbefb69e7b678b080b9bf8311cebf5c76f327.tar.bz2
ayatana-indicator-messages-c06fbefb69e7b678b080b9bf8311cebf5c76f327.zip
Making the activate callback static and putting in a prototype
-rw-r--r--src/im-menu-item.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/im-menu-item.c b/src/im-menu-item.c
index 965a88b..863b2c3 100644
--- a/src/im-menu-item.c
+++ b/src/im-menu-item.c
@@ -45,6 +45,8 @@ static void icon_cb (IndicateListener * listener,
gchar * property,
gchar * propertydata,
gpointer data);
+static void activate_cb (ImMenuItem * self,
+ gpointer data);
static GtkSizeGroup * icon_group = NULL;
@@ -187,7 +189,7 @@ sender_cb (IndicateListener * listener, IndicateListenerServer * server, Indicat
return;
}
-void
+static void
activate_cb (ImMenuItem * self, gpointer data)
{
ImMenuItemPrivate * priv = IM_MENU_ITEM_GET_PRIVATE(self);