diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-05-04 20:00:29 +0200 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-05-04 20:00:29 +0200 |
commit | 2a38db4a425d7ffdc2dc72f3cc4f28f2864ffa86 (patch) | |
tree | 3aa3cbecefee792e3316ff0d3704028863813b0d /lib/gtk-vlc-player/gtk-vlc-player.h | |
parent | ce7587f1178df5d775d513db635eb6a2333c335d (diff) | |
download | experiment-player-2a38db4a425d7ffdc2dc72f3cc4f28f2864ffa86.tar.gz |
fixed fullscreen-mode of gtk-vlc-player
it's subclassed from GtkAlignment now, so there's always a container
for the GtkDrawingArea whose X-Window will be used by libvlc
Diffstat (limited to 'lib/gtk-vlc-player/gtk-vlc-player.h')
-rw-r--r-- | lib/gtk-vlc-player/gtk-vlc-player.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/gtk-vlc-player/gtk-vlc-player.h b/lib/gtk-vlc-player/gtk-vlc-player.h index 217371c..7a05f6e 100644 --- a/lib/gtk-vlc-player/gtk-vlc-player.h +++ b/lib/gtk-vlc-player/gtk-vlc-player.h @@ -22,19 +22,19 @@ G_BEGIN_DECLS (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_VLC_PLAYER, GtkVlcPlayerClass)) typedef struct _GtkVlcPlayer { - GtkDrawingArea parent_instance; + GtkAlignment parent_instance; + + GtkWidget *drawing_area; libvlc_instance_t *vlc_inst; libvlc_media_player_t *media_player; gboolean isFullscreen; - GtkWidget *fullscreen_window; - GtkWidget *orig_parent; } GtkVlcPlayer; typedef struct _GtkVlcPlayerClass { - GtkDrawingAreaClass parent_class; + GtkAlignmentClass parent_class; void (*time_changed) (GtkVlcPlayer *self, gint64 new_time, gpointer user_data); void (*length_changed) (GtkVlcPlayer *self, gint64 new_length, gpointer user_data); |