summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gtk/gtkvideo.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk/gtkvideo.c b/gtk/gtkvideo.c
index 78f8ea080c..6a90b2dd82 100644
--- a/gtk/gtkvideo.c
+++ b/gtk/gtkvideo.c
@@ -81,6 +81,11 @@ static gboolean
gtk_video_hide_controls (gpointer data)
{
GtkVideo *self = data;
+ gboolean active;
+
+ g_object_get (self->controls, "active", &active, NULL);
+ if (active)
+ return G_SOURCE_CONTINUE;
gtk_revealer_set_reveal_child (GTK_REVEALER (self->controls_revealer), FALSE);