From a7feeae6d2028daa75a36e4a0f992877faabf1d9 Mon Sep 17 00:00:00 2001 From: Sjoerd Simons Date: Mon, 21 May 2012 13:52:34 +0200 Subject: call: Initialize the timer early --- src/empathy-call-window.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/empathy-call-window.c') diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c index 01181c40b..bd2067865 100644 --- a/src/empathy-call-window.c +++ b/src/empathy-call-window.c @@ -1559,6 +1559,7 @@ empathy_call_window_init (EmpathyCallWindow *self) EMPATHY_TYPE_CALL_WINDOW, EmpathyCallWindowPriv); priv->settings = g_settings_new (EMPATHY_PREFS_CALL_SCHEMA); + priv->timer = g_timer_new (); filename = empathy_file_lookup ("empathy-call-window.ui", "src"); gui = empathy_builder_get_file (filename, @@ -1790,8 +1791,6 @@ empathy_call_window_init (EmpathyCallWindow *self) g_signal_connect (self, "motion-notify-event", G_CALLBACK (empathy_call_window_motion_notify_cb), self); - priv->timer = g_timer_new (); - g_object_ref (priv->ui_manager); g_object_unref (gui); -- cgit v1.2.3