aboutsummaryrefslogtreecommitdiff
path: root/src/app-menu-item.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-01-14 14:24:44 -0600
committerTed Gould <ted@gould.cx>2011-01-14 14:24:44 -0600
commitd4cb0ec08e78f9ddc2fcef0ad31fd2ef5979fdab (patch)
treece68df9ba4d403dc196739de8f7d5225a4d2924d /src/app-menu-item.c
parenta84751634f416aa96edec3bccc49db5d215212f5 (diff)
parent129064cc2748dabc53a303423838b65e96f991c4 (diff)
downloadayatana-indicator-messages-d4cb0ec08e78f9ddc2fcef0ad31fd2ef5979fdab.tar.gz
ayatana-indicator-messages-d4cb0ec08e78f9ddc2fcef0ad31fd2ef5979fdab.tar.bz2
ayatana-indicator-messages-d4cb0ec08e78f9ddc2fcef0ad31fd2ef5979fdab.zip
* New upstream release.
* GDBus Port * New libindicate and dbusmenu
Diffstat (limited to 'src/app-menu-item.c')
-rw-r--r--src/app-menu-item.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/app-menu-item.c b/src/app-menu-item.c
index 0b0588e..e846914 100644
--- a/src/app-menu-item.c
+++ b/src/app-menu-item.c
@@ -70,8 +70,8 @@ static void app_menu_item_finalize (GObject *object);
static void activate_cb (AppMenuItem * self, guint timestamp, gpointer data);
static void count_changed (IndicateListener * listener, IndicateListenerServer * server, guint count, gpointer data);
static void count_cb (IndicateListener * listener, IndicateListenerServer * server, guint value, gpointer data);
-static void menu_cb (IndicateListener * listener, IndicateListenerServer * server, gchar * menupath, gpointer data);
-static void desktop_cb (IndicateListener * listener, IndicateListenerServer * server, gchar * value, gpointer data);
+static void menu_cb (IndicateListener * listener, IndicateListenerServer * server, const gchar * menupath, gpointer data);
+static void desktop_cb (IndicateListener * listener, IndicateListenerServer * server, const gchar * value, gpointer data);
static void update_label (AppMenuItem * self);
/* GObject Boilerplate */
@@ -300,7 +300,7 @@ count_cb (IndicateListener * listener, IndicateListenerServer * server, guint va
app structure and start sucking data out of it.
Mostly the name. */
static void
-desktop_cb (IndicateListener * listener, IndicateListenerServer * server, gchar * value, gpointer data)
+desktop_cb (IndicateListener * listener, IndicateListenerServer * server, const gchar * value, gpointer data)
{
g_return_if_fail(IS_APP_MENU_ITEM(data));
AppMenuItem * self = APP_MENU_ITEM(data);
@@ -469,7 +469,7 @@ root_changed (DbusmenuClient * client, DbusmenuMenuitem * newroot, gpointer data
/* Gets the path to menuitems if there are some. Now we need to
make them special. */
static void
-menu_cb (IndicateListener * listener, IndicateListenerServer * server, gchar * menupath, gpointer data)
+menu_cb (IndicateListener * listener, IndicateListenerServer * server, const gchar * menupath, gpointer data)
{
g_debug("Got Menu: %s", menupath);
g_return_if_fail(IS_APP_MENU_ITEM(data));