/*
* empathy-call-window-fullscreen.c - Source for EmpathyCallWindowFullscreen
- * Copyright (C) 2009 Collabora Ltd.
+ * Copyright (C) 2009-2011 Collabora Ltd.
*
* Some code is based on the Totem Movie Player, especially
* totem-fullscreen.c which has the following copyright:
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#include "config.h"
#include "empathy-call-window-fullscreen.h"
-#include <gtk/gtk.h>
+#include <tp-account-widgets/tpaw-builder.h>
-#include <libempathy/empathy-utils.h>
-#include <libempathy-gtk/empathy-ui-utils.h>
+#include "empathy-ui-utils.h"
+#include "empathy-utils.h"
/* The number of seconds for which the "leave fullscreen" popup should
be shown */
struct _EmpathyCallWindowFullscreenPriv
{
- EmpathyStreamedMediaWindow *parent_window;
+ EmpathyCallWindow *parent_window;
GtkWidget *leave_fullscreen_popup;
GtkWidget *video_widget;
gchar *filename;
filename = empathy_file_lookup ("empathy-call-window-fullscreen.ui", "src");
- gui = empathy_builder_get_file (filename,
+ gui = tpaw_builder_get_file (filename,
"leave_fullscreen_window", &priv->leave_fullscreen_popup,
"leave_fullscreen_button", &self->leave_fullscreen_button,
NULL);
}
EmpathyCallWindowFullscreen *
-empathy_call_window_fullscreen_new (EmpathyStreamedMediaWindow *parent_window)
+empathy_call_window_fullscreen_new (EmpathyCallWindow *parent_window)
{
EmpathyCallWindowFullscreen *self = EMPATHY_CALL_WINDOW_FULLSCREEN (
g_object_new (EMPATHY_TYPE_CALL_WINDOW_FULLSCREEN, NULL));