diff options
author | monsta <[email protected]> | 2016-11-23 18:15:54 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2016-11-23 18:15:54 +0300 |
commit | ae5f4711a21508a70d7123dbc0efb610af1289a2 (patch) | |
tree | 54d4a9de3b092aa772ed8799fcf30e11e19ff93f /libview/ev-timeline.c | |
parent | 7884bbe50fe8b8c26e68b8077c18047861c2dd0c (diff) | |
download | atril-ae5f4711a21508a70d7123dbc0efb610af1289a2.tar.bz2 atril-ae5f4711a21508a70d7123dbc0efb610af1289a2.tar.xz |
move to GTK+3 (>= 3.14), drop GTK+2 code and --with-gtk build option
and require caja >= 1.17.1
Diffstat (limited to 'libview/ev-timeline.c')
-rw-r--r-- | libview/ev-timeline.c | 10 |
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; } |