diff options
author | Xavier Claessens <xavier.claessens@collabora.co.uk> | 2013-10-03 04:08:39 +0800 |
---|---|---|
committer | Xavier Claessens <xavier.claessens@collabora.co.uk> | 2013-10-03 22:11:43 +0800 |
commit | c9ed3ccb624594660908c3d39ea8d182079dd000 (patch) | |
tree | 1d18e9473a9ae34db245911b2d30d23614ee7010 /libempathy/empathy-presence-manager.c | |
parent | e3cbf70a3ca4aba15a65ae170c0a0d54573b7649 (diff) | |
download | gsoc2013-empathy-c9ed3ccb624594660908c3d39ea8d182079dd000.tar gsoc2013-empathy-c9ed3ccb624594660908c3d39ea8d182079dd000.tar.gz gsoc2013-empathy-c9ed3ccb624594660908c3d39ea8d182079dd000.tar.bz2 gsoc2013-empathy-c9ed3ccb624594660908c3d39ea8d182079dd000.tar.lz gsoc2013-empathy-c9ed3ccb624594660908c3d39ea8d182079dd000.tar.xz gsoc2013-empathy-c9ed3ccb624594660908c3d39ea8d182079dd000.tar.zst gsoc2013-empathy-c9ed3ccb624594660908c3d39ea8d182079dd000.zip |
Rename NUM_TP_ to TP_NUM_
Diffstat (limited to 'libempathy/empathy-presence-manager.c')
-rw-r--r-- | libempathy/empathy-presence-manager.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libempathy/empathy-presence-manager.c b/libempathy/empathy-presence-manager.c index 6eab7f15b..a6aca1adf 100644 --- a/libempathy/empathy-presence-manager.c +++ b/libempathy/empathy-presence-manager.c @@ -80,7 +80,7 @@ G_DEFINE_TYPE (EmpathyPresenceManager, empathy_presence_manager, G_TYPE_OBJECT); static EmpathyPresenceManager * singleton = NULL; -static const gchar *presence_type_to_status[NUM_TP_CONNECTION_PRESENCE_TYPES] = +static const gchar *presence_type_to_status[TP_NUM_CONNECTION_PRESENCE_TYPES] = { NULL, "offline", @@ -349,7 +349,7 @@ empathy_presence_manager_class_init (EmpathyPresenceManagerClass *klass) g_object_class_install_property (object_class, PROP_STATE, g_param_spec_uint ("state", "state", "state", - 0, NUM_TP_CONNECTION_PRESENCE_TYPES, + 0, TP_NUM_CONNECTION_PRESENCE_TYPES, TP_CONNECTION_PRESENCE_TYPE_UNSET, G_PARAM_READWRITE)); @@ -519,7 +519,7 @@ empathy_presence_manager_do_set_presence (EmpathyPresenceManager *self, { const gchar *status; - g_assert (status_type > 0 && status_type < NUM_TP_CONNECTION_PRESENCE_TYPES); + g_assert (status_type > 0 && status_type < TP_NUM_CONNECTION_PRESENCE_TYPES); status = presence_type_to_status[status_type]; |