aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd@luon.net>2012-05-21 19:52:34 +0800
committerSjoerd Simons <sjoerd@luon.net>2012-05-21 19:54:00 +0800
commita7feeae6d2028daa75a36e4a0f992877faabf1d9 (patch)
treeded95a8dee459b7c7df3e52eb8b95f58e2b9db2c /src
parent108b3fa233660bdd0e88ac2d4642a75efa8f1eb7 (diff)
downloadgsoc2013-empathy-a7feeae6d2028daa75a36e4a0f992877faabf1d9.tar.gz
gsoc2013-empathy-a7feeae6d2028daa75a36e4a0f992877faabf1d9.tar.zst
gsoc2013-empathy-a7feeae6d2028daa75a36e4a0f992877faabf1d9.zip
call: Initialize the timer early
Diffstat (limited to 'src')
-rw-r--r--src/empathy-call-window.c3
1 files changed, 1 insertions, 2 deletions
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);