summaryrefslogtreecommitdiff
path: root/libview/ev-timeline.c
diff options
context:
space:
mode:
Diffstat (limited to 'libview/ev-timeline.c')
-rw-r--r--libview/ev-timeline.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/libview/ev-timeline.c b/libview/ev-timeline.c
index 70644c22..62c97286 100644
--- a/libview/ev-timeline.c
+++ b/libview/ev-timeline.c
@@ -21,8 +21,6 @@
#include <glib.h>
#include <math.h>
-#include <gtk/gtk.h>
-#include <gdk/gdk.h>
#include "ev-timeline.h"
#define EV_TIMELINE_GET_PRIV(obj) (G_TYPE_INSTANCE_GET_PRIVATE ((obj), EV_TYPE_TIMELINE, EvTimelinePriv))
@@ -151,10 +149,6 @@ ev_timeline_run_frame (EvTimeline *timeline)
gdouble progress;
guint elapsed_time;
-#if !GTK_CHECK_VERSION (3, 0, 0)
- gdk_threads_enter();
-#endif
-
priv = EV_TIMELINE_GET_PRIV (timeline);
elapsed_time = (guint) (g_timer_elapsed (priv->timer, NULL) * 1000);
@@ -177,10 +171,6 @@ ev_timeline_run_frame (EvTimeline *timeline)
}
}
-#if !GTK_CHECK_VERSION (3, 0, 0)
- gdk_threads_leave();
-#endif
-
return TRUE;
}