aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-01-27 16:57:04 -0600
committerTed Gould <ted@gould.cx>2011-01-27 16:57:04 -0600
commitd6519fb4f6cd5ed4eaeeae4a8cceb14787a25695 (patch)
treed72eeaa31e75c049402f6876771d6e83a1343fd7
parent2a169fca32587c813028b97c35692ce25f465d6a (diff)
downloadayatana-indicator-messages-d6519fb4f6cd5ed4eaeeae4a8cceb14787a25695.tar.gz
ayatana-indicator-messages-d6519fb4f6cd5ed4eaeeae4a8cceb14787a25695.tar.bz2
ayatana-indicator-messages-d6519fb4f6cd5ed4eaeeae4a8cceb14787a25695.zip
Upgrading to new type handler prototype
-rw-r--r--configure.ac2
-rw-r--r--src/indicator-messages.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index b20fade..762c05d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -40,7 +40,7 @@ GIO_UNIX_REQUIRED_VERSION=2.18
PANEL_REQUIRED_VERSION=2.0.0
INDICATE_REQUIRED_VERSION=0.4.90
INDICATOR_REQUIRED_VERSION=0.3.5
-DBUSMENUGTK_REQUIRED_VERSION=0.3.90
+DBUSMENUGTK_REQUIRED_VERSION=0.3.94
PKG_CHECK_MODULES(APPLET, gtk+-2.0 >= $GTK_REQUIRED_VERSION
gio-unix-2.0 >= $GIO_UNIX_REQUIRED_VERSION
diff --git a/src/indicator-messages.c b/src/indicator-messages.c
index 6fd6c5c..8a94a85 100644
--- a/src/indicator-messages.c
+++ b/src/indicator-messages.c
@@ -489,7 +489,7 @@ numbers_draw_cb (GtkWidget *widget, GdkEventExpose *event, gpointer data)
/* Builds a menu item representing a running application in the
messaging menu */
static gboolean
-new_application_item (DbusmenuMenuitem * newitem, DbusmenuMenuitem * parent, DbusmenuClient * client)
+new_application_item (DbusmenuMenuitem * newitem, DbusmenuMenuitem * parent, DbusmenuClient * client, gpointer user_data)
{
g_debug ("%s (\"%s\")", __func__, dbusmenu_menuitem_property_get(newitem, APPLICATION_MENUITEM_PROP_NAME));
@@ -597,7 +597,7 @@ indicator_prop_change_cb (DbusmenuMenuitem * mi, gchar * prop, GVariant * value,
shifting over and putting the icon in with some right
side text that'll be determined by the service. */
static gboolean
-new_indicator_item (DbusmenuMenuitem * newitem, DbusmenuMenuitem * parent, DbusmenuClient * client)
+new_indicator_item (DbusmenuMenuitem * newitem, DbusmenuMenuitem * parent, DbusmenuClient * client, gpointer user_data)
{
g_return_val_if_fail(DBUSMENU_IS_MENUITEM(newitem), FALSE);
g_return_val_if_fail(DBUSMENU_IS_GTKCLIENT(client), FALSE);