aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-call-window.c
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-03-17 06:10:34 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-03-17 06:10:34 +0800
commitf369aa1633fd6d1c02680e97006bc53e4b8e44eb (patch)
treec78ac2dceb543b6d989f96f693c861c5a612ec41 /src/empathy-call-window.c
parent841b4512d41749ea2229f1ceb6ec7b77f9c78e81 (diff)
downloadgsoc2013-empathy-f369aa1633fd6d1c02680e97006bc53e4b8e44eb.tar
gsoc2013-empathy-f369aa1633fd6d1c02680e97006bc53e4b8e44eb.tar.gz
gsoc2013-empathy-f369aa1633fd6d1c02680e97006bc53e4b8e44eb.tar.bz2
gsoc2013-empathy-f369aa1633fd6d1c02680e97006bc53e4b8e44eb.tar.lz
gsoc2013-empathy-f369aa1633fd6d1c02680e97006bc53e4b8e44eb.tar.xz
gsoc2013-empathy-f369aa1633fd6d1c02680e97006bc53e4b8e44eb.tar.zst
gsoc2013-empathy-f369aa1633fd6d1c02680e97006bc53e4b8e44eb.zip
Use empathy_file_lookup for glade files since some are in libempathy-gtk/ and others in src/
svn path=/trunk/; revision=813
Diffstat (limited to 'src/empathy-call-window.c')
-rw-r--r--src/empathy-call-window.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index c7f202ee3..70bcb3e5f 100644
--- a/src/empathy-call-window.c
+++ b/src/empathy-call-window.c
@@ -450,13 +450,15 @@ empathy_call_window_new (EmpathyTpCall *call)
EmpathyCallWindow *window;
GladeXML *glade;
guint status;
+ gchar *filename;
g_return_val_if_fail (EMPATHY_IS_TP_CALL (call), NULL);
window = g_slice_new0 (EmpathyCallWindow);
window->call = g_object_ref (call);
- glade = empathy_glade_get_file ("empathy-call-window.glade",
+ filename = empathy_file_lookup ("empathy-call-window.glade", "src");
+ glade = empathy_glade_get_file (filename,
"window",
NULL,
"window", &window->window,
@@ -471,6 +473,7 @@ empathy_call_window_new (EmpathyTpCall *call)
"output_video_frame", &window->output_video_frame,
"video_button", &window->video_button,
NULL);
+ g_free (filename);
empathy_glade_connect (glade,
window,