diff options
author | Xavier Claessens <xclaesse@gmail.com> | 2007-06-22 18:47:42 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2007-06-22 18:47:42 +0800 |
commit | 58505161bcc63ba91190f6b38a3c52c0c564ca32 (patch) | |
tree | e17e91ae407c49df8d545494c76f828468e42ee3 /libempathy/empathy-idle.c | |
parent | f50c7c8d3d635c2fa567f5d60a1c92c85225227c (diff) | |
download | gsoc2013-empathy-58505161bcc63ba91190f6b38a3c52c0c564ca32.tar gsoc2013-empathy-58505161bcc63ba91190f6b38a3c52c0c564ca32.tar.gz gsoc2013-empathy-58505161bcc63ba91190f6b38a3c52c0c564ca32.tar.bz2 gsoc2013-empathy-58505161bcc63ba91190f6b38a3c52c0c564ca32.tar.lz gsoc2013-empathy-58505161bcc63ba91190f6b38a3c52c0c564ca32.tar.xz gsoc2013-empathy-58505161bcc63ba91190f6b38a3c52c0c564ca32.tar.zst gsoc2013-empathy-58505161bcc63ba91190f6b38a3c52c0c564ca32.zip |
Rename all filenames starting with "gossip" by "empathy", change namespace
2007-06-22 Xavier Claessens <xclaesse@gmail.com>
* libempathy/*.[ch]:
* libempathy-gtk/*.[ch]:
* src/*.[ch]: Rename all filenames starting with "gossip" by "empathy",
change namespace of all gossip_*() functions to empathy_*().
Fixes bug #444490 (Mario Danic, Xavier Claessens).
svn path=/trunk/; revision=170
Diffstat (limited to 'libempathy/empathy-idle.c')
-rw-r--r-- | libempathy/empathy-idle.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/libempathy/empathy-idle.c b/libempathy/empathy-idle.c index 8150effd3..5b04d363f 100644 --- a/libempathy/empathy-idle.c +++ b/libempathy/empathy-idle.c @@ -30,8 +30,8 @@ #include <libtelepathy/tp-helpers.h> #include "empathy-idle.h" -#include "gossip-utils.h" -#include "gossip-debug.h" +#include "empathy-utils.h" +#include "empathy-debug.h" #define GET_PRIV(obj) (G_TYPE_INSTANCE_GET_PRIVATE ((obj), \ EMPATHY_TYPE_IDLE, EmpathyIdlePriv)) @@ -144,7 +144,7 @@ empathy_idle_init (EmpathyIdle *idle) priv = GET_PRIV (idle); priv->is_idle = FALSE; - priv->mc = gossip_mission_control_new (); + priv->mc = empathy_mission_control_new (); priv->state = mission_control_get_presence_actual (priv->mc, NULL); idle_presence_changed_cb (priv->mc, priv->state, idle); @@ -165,13 +165,13 @@ empathy_idle_init (EmpathyIdle *idle) G_CALLBACK (idle_session_idle_changed_cb), idle, NULL); } else { - gossip_debug (DEBUG_DOMAIN, "Failed to get gs proxy"); + empathy_debug (DEBUG_DOMAIN, "Failed to get gs proxy"); } system_bus = dbus_g_bus_get (DBUS_BUS_SYSTEM, &error); if (!system_bus) { - gossip_debug (DEBUG_DOMAIN, "Failed to get system bus: %s", + empathy_debug (DEBUG_DOMAIN, "Failed to get system bus: %s", error ? error->message : "No error given"); } else { priv->nm_proxy = dbus_g_proxy_new_for_name (system_bus, @@ -186,7 +186,7 @@ empathy_idle_init (EmpathyIdle *idle) G_CALLBACK (idle_nm_state_change_cb), idle, NULL); } else { - gossip_debug (DEBUG_DOMAIN, "Failed to get nm proxy"); + empathy_debug (DEBUG_DOMAIN, "Failed to get nm proxy"); } /* FIXME: get value */ priv->nm_connected = TRUE; @@ -310,7 +310,7 @@ empathy_idle_get_status (EmpathyIdle *idle) priv = GET_PRIV (idle); if (!priv->status) { - return gossip_presence_state_get_default_status (priv->state); + return empathy_presence_state_get_default_status (priv->state); } return priv->status; @@ -371,7 +371,7 @@ empathy_idle_set_presence (EmpathyIdle *idle, } /* Do not set translated default messages */ - default_status = gossip_presence_state_get_default_status (state); + default_status = empathy_presence_state_get_default_status (state); if (status && strcmp (status, default_status) == 0) { status = NULL; } @@ -413,7 +413,7 @@ idle_session_idle_changed_cb (DBusGProxy *gs_proxy, priv = GET_PRIV (idle); - gossip_debug (DEBUG_DOMAIN, "Session idle state changed, %s -> %s", + empathy_debug (DEBUG_DOMAIN, "Session idle state changed, %s -> %s", priv->is_idle ? "yes" : "no", is_idle ? "yes" : "no"); @@ -441,7 +441,7 @@ idle_session_idle_changed_cb (DBusGProxy *gs_proxy, priv->saved_status = g_strdup (priv->status); } - gossip_debug (DEBUG_DOMAIN, "Going to autoaway"); + empathy_debug (DEBUG_DOMAIN, "Going to autoaway"); empathy_idle_set_state (idle, new_state); idle_ext_away_start (idle); @@ -449,7 +449,7 @@ idle_session_idle_changed_cb (DBusGProxy *gs_proxy, /* We are no more idle, restore state */ idle_ext_away_stop (idle); - gossip_debug (DEBUG_DOMAIN, "Restoring state to %d %s", + empathy_debug (DEBUG_DOMAIN, "Restoring state to %d %s", priv->saved_state, priv->saved_status); @@ -473,7 +473,7 @@ idle_nm_state_change_cb (DBusGProxy *proxy, priv = GET_PRIV (idle); - gossip_debug (DEBUG_DOMAIN, "New network state (%d)", state); + empathy_debug (DEBUG_DOMAIN, "New network state (%d)", state); if (state != NM_STATE_CONNECTED && priv->state > MC_PRESENCE_OFFLINE) { @@ -529,7 +529,7 @@ idle_ext_away_cb (EmpathyIdle *idle) priv = GET_PRIV (idle); - gossip_debug (DEBUG_DOMAIN, "Going to extended autoaway"); + empathy_debug (DEBUG_DOMAIN, "Going to extended autoaway"); empathy_idle_set_state (idle, MC_PRESENCE_EXTENDED_AWAY); priv->ext_away_timeout = 0; |