[empathy/gnome-3-4] call: Initialize the timer early
- From: Sjoerd Simons <sjoerds src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy/gnome-3-4] call: Initialize the timer early
- Date: Mon, 21 May 2012 12:05:34 +0000 (UTC)
commit a7feeae6d2028daa75a36e4a0f992877faabf1d9
Author: Sjoerd Simons <sjoerd luon net>
Date: Mon May 21 13:52:34 2012 +0200
call: Initialize the timer early
src/empathy-call-window.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index 01181c4..bd20678 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]