aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-call-window-fullscreen.h
diff options
context:
space:
mode:
authorjtellier <jtellier@Jospin.localdomain>2009-05-11 21:54:19 +0800
committerjtellier <jonathan.tellier@collabora.co.uk>2009-05-12 23:43:49 +0800
commitbb9f071a1edf595f89ce23b9d3cfb0955c89ab1d (patch)
tree5278cfb792c74d8a44d2c81392dec3448999b9fa /src/empathy-call-window-fullscreen.h
parent10686010ed50b5f39dc0abf000c66577dbff2ff9 (diff)
downloadgsoc2013-empathy-bb9f071a1edf595f89ce23b9d3cfb0955c89ab1d.tar
gsoc2013-empathy-bb9f071a1edf595f89ce23b9d3cfb0955c89ab1d.tar.gz
gsoc2013-empathy-bb9f071a1edf595f89ce23b9d3cfb0955c89ab1d.tar.bz2
gsoc2013-empathy-bb9f071a1edf595f89ce23b9d3cfb0955c89ab1d.tar.lz
gsoc2013-empathy-bb9f071a1edf595f89ce23b9d3cfb0955c89ab1d.tar.xz
gsoc2013-empathy-bb9f071a1edf595f89ce23b9d3cfb0955c89ab1d.tar.zst
gsoc2013-empathy-bb9f071a1edf595f89ce23b9d3cfb0955c89ab1d.zip
Fixed coding style by removing trailing spaces and not using a mix of
tabs and spaces. Removed some responsabilities from EmpathyCallWindowFullscreen. It now only manages the "Leave Fullscreen" popup and button.
Diffstat (limited to 'src/empathy-call-window-fullscreen.h')
-rw-r--r--src/empathy-call-window-fullscreen.h19
1 files changed, 5 insertions, 14 deletions
diff --git a/src/empathy-call-window-fullscreen.h b/src/empathy-call-window-fullscreen.h
index 543f7acda..53dcf40e1 100644
--- a/src/empathy-call-window-fullscreen.h
+++ b/src/empathy-call-window-fullscreen.h
@@ -1,5 +1,5 @@
/*
- * empathy-call-window.c - Source for EmpathyCallWindow
+ * empathy-call-window-fullscreen.h - Header for EmpathyCallWindowFullscreen
* Copyright (C) 2009 Collabora Ltd.
*
* This library is free software; you can redistribute it and/or
@@ -31,20 +31,13 @@ typedef struct _EmpathyCallWindowFullscreen EmpathyCallWindowFullscreen;
typedef struct _EmpathyCallWindowFullscreenClass EmpathyCallWindowFullscreenClass;
struct _EmpathyCallWindowFullscreenClass {
- GtkWindowClass parent_class;
+ GObjectClass parent_class;
};
struct _EmpathyCallWindowFullscreen {
- GtkWindow parent;
+ GObject parent;
gboolean is_fullscreen;
-
GtkWidget *leave_fullscreen_button;
-
- /* Those fields represent the state of the parent empathy_call_window before
- it actually was in fullscreen mode. */
- gboolean sidebar_was_visible;
- gint original_width;
- gint original_height;
};
GType empathy_call_window_fullscreen_get_type(void);
@@ -70,12 +63,10 @@ EmpathyCallWindowFullscreen *
empathy_call_window_fullscreen_new (EmpathyCallWindow *parent);
void empathy_call_window_fullscreen_set_fullscreen (EmpathyCallWindowFullscreen *fs,
- gboolean sidebar_was_visible,
- gint original_width,
- gint original_height);
-void empathy_call_window_fullscreen_unset_fullscreen (EmpathyCallWindowFullscreen *fs);
+ gboolean set_fullscreen);
void empathy_call_window_fullscreen_set_video_widget (EmpathyCallWindowFullscreen *fs,
GtkWidget *video_widget);
+void empathy_call_window_fullscreen_show_popup (EmpathyCallWindowFullscreen *fs);
G_END_DECLS