aboutsummaryrefslogtreecommitdiff
path: root/src/indicator-messages.c
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-04-03 15:25:16 -0500
committerTed Gould <ted@canonical.com>2009-04-03 15:25:16 -0500
commit151d978352348e6532eb5e10a375f3c9f831be15 (patch)
tree80355fdd5211e7fe2bf2bbbe1e70ec92c3d70af5 /src/indicator-messages.c
parent3448618cb3f6bd0ac535d647b756d9448d56c720 (diff)
downloadayatana-indicator-messages-151d978352348e6532eb5e10a375f3c9f831be15.tar.gz
ayatana-indicator-messages-151d978352348e6532eb5e10a375f3c9f831be15.tar.bz2
ayatana-indicator-messages-151d978352348e6532eb5e10a375f3c9f831be15.zip
Adding in some consts to match the new prototypes better
Diffstat (limited to 'src/indicator-messages.c')
-rw-r--r--src/indicator-messages.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/indicator-messages.c b/src/indicator-messages.c
index e8fed5b..83520ff 100644
--- a/src/indicator-messages.c
+++ b/src/indicator-messages.c
@@ -55,8 +55,8 @@ serverList_equal (gconstpointer a, gconstpointer b)
pa = (serverList_t *)a;
pb = (serverList_t *)b;
- gchar * pas = INDICATE_LISTENER_SERVER_DBUS_NAME(pa->server);
- gchar * pbs = INDICATE_LISTENER_SERVER_DBUS_NAME(pb->server);
+ const gchar * pas = INDICATE_LISTENER_SERVER_DBUS_NAME(pa->server);
+ const gchar * pbs = INDICATE_LISTENER_SERVER_DBUS_NAME(pb->server);
return g_strcmp0(pas, pbs);
}
@@ -90,8 +90,8 @@ imList_equal (gconstpointer a, gconstpointer b)
pa = (imList_t *)a;
pb = (imList_t *)b;
- gchar * pas = INDICATE_LISTENER_SERVER_DBUS_NAME(pa->server);
- gchar * pbs = INDICATE_LISTENER_SERVER_DBUS_NAME(pb->server);
+ const gchar * pas = INDICATE_LISTENER_SERVER_DBUS_NAME(pa->server);
+ const gchar * pbs = INDICATE_LISTENER_SERVER_DBUS_NAME(pb->server);
guint pai = INDICATE_LISTENER_INDICATOR_ID(pa->indicator);
guint pbi = INDICATE_LISTENER_INDICATOR_ID(pb->indicator);