aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>2011-10-13 01:12:53 +0800
committerSjoerd Simons <sjoerd.simons@collabora.co.uk>2011-10-13 01:18:31 +0800
commit470d73148cee8632b0268a0277f3b29e083b804d (patch)
tree74d280639a349d0166be431eb3395b5598aea925 /src
parent4ec40a51cb71576e253c162a61d07e8b6cca78a1 (diff)
downloadgsoc2013-empathy-470d73148cee8632b0268a0277f3b29e083b804d.tar
gsoc2013-empathy-470d73148cee8632b0268a0277f3b29e083b804d.tar.gz
gsoc2013-empathy-470d73148cee8632b0268a0277f3b29e083b804d.tar.bz2
gsoc2013-empathy-470d73148cee8632b0268a0277f3b29e083b804d.tar.lz
gsoc2013-empathy-470d73148cee8632b0268a0277f3b29e083b804d.tar.xz
gsoc2013-empathy-470d73148cee8632b0268a0277f3b29e083b804d.tar.zst
gsoc2013-empathy-470d73148cee8632b0268a0277f3b29e083b804d.zip
Make sure we have our settings before we want to use them
Diffstat (limited to 'src')
-rw-r--r--src/empathy-call-window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index 2df51c8f4..386ba11b4 100644
--- a/src/empathy-call-window.c
+++ b/src/empathy-call-window.c
@@ -1524,6 +1524,8 @@ empathy_call_window_init (EmpathyCallWindow *self)
priv = self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self,
EMPATHY_TYPE_CALL_WINDOW, EmpathyCallWindowPriv);
+ priv->settings = g_settings_new (EMPATHY_PREFS_CALL_SCHEMA);
+
filename = empathy_file_lookup ("empathy-call-window.ui", "src");
gui = empathy_builder_get_file (filename,
"call_window_vbox", &top_vbox,
@@ -1761,8 +1763,6 @@ empathy_call_window_init (EmpathyCallWindow *self)
empathy_call_window_show_hangup_button (self, TRUE);
- priv->settings = g_settings_new (EMPATHY_PREFS_CALL_SCHEMA);
-
/* Retrieve initial volume */
priv->volume = g_settings_get_double (priv->settings,
EMPATHY_PREFS_CALL_SOUND_VOLUME) / 100.0;