aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/empathy-main.c')
-rw-r--r--src/empathy-main.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/empathy-main.c b/src/empathy-main.c
index 0815e1216..c2cb2ec51 100644
--- a/src/empathy-main.c
+++ b/src/empathy-main.c
@@ -48,6 +48,10 @@ static void error_cb (MissionControl *mc,
gpointer data);
static void service_ended_cb (MissionControl *mc,
gpointer user_data);
+static void operation_error_cb (MissionControl *mc,
+ guint operation_id,
+ guint error_code,
+ gpointer user_data);
static void start_mission_control (MissionControl *mc);
static void destroy_cb (GtkWidget *window,
MissionControl *mc);
@@ -72,6 +76,17 @@ service_ended_cb (MissionControl *mc,
}
static void
+operation_error_cb (MissionControl *mc,
+ guint operation_id,
+ guint error_code,
+ gpointer user_data)
+{
+ gossip_debug (DEBUG_DOMAIN, "Error code %d during operation %d",
+ error_code,
+ operation_id);
+}
+
+static void
account_enabled_cb (McAccountMonitor *monitor,
gchar *unique_name,
MissionControl *mc)
@@ -162,6 +177,9 @@ main (int argc, char *argv[])
g_signal_connect (mc, "ServiceEnded",
G_CALLBACK (service_ended_cb),
NULL);
+ g_signal_connect (mc, "Error",
+ G_CALLBACK (operation_error_cb),
+ NULL);
start_mission_control (mc);
/* Setting up the main window */