]> git.0d.be Git - empathy.git/blobdiff - src/empathy-call-window.c
Fix includes
[empathy.git] / src / empathy-call-window.c
index c7f202ee3a29c946171bbe90c9a1abb67abdab57..7552cfe453e62ba5b14411a459f0ccd7cc07c6ed 100644 (file)
 #include <libempathy/empathy-chandler.h>
 #include <libempathy/empathy-debug.h>
 #include <libempathy/empathy-utils.h>
-
-#include <libempathy-gtk/empathy-call-window.h>
 #include <libempathy-gtk/empathy-ui-utils.h>
 
+#include "empathy-call-window.h"
+
 #define DEBUG_DOMAIN "CallWindow"
 
 typedef struct 
@@ -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,