From bb9f071a1edf595f89ce23b9d3cfb0955c89ab1d Mon Sep 17 00:00:00 2001 From: jtellier Date: Mon, 11 May 2009 09:54:19 -0400 Subject: 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. --- src/empathy-call-window-fullscreen.h | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) (limited to 'src/empathy-call-window-fullscreen.h') 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 -- cgit v1.2.3