[evince] Replace GDK_THREADS_ENTER/LEAVE with gdk_threads_enter/leave
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince] Replace GDK_THREADS_ENTER/LEAVE with gdk_threads_enter/leave
- Date: Mon, 6 Aug 2012 16:55:49 +0000 (UTC)
commit c67e5e9c6bbcd75196a8e4a2b202fe40221863ad
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Aug 4 20:24:45 2012 -0400
Replace GDK_THREADS_ENTER/LEAVE with gdk_threads_enter/leave
Using the functions directly allows us to benefit from the
new more gracious deprecation approach, and doesn't force
a harsh build break due to undefined macros.
https://bugzilla.gnome.org/show_bug.cgi?id=681215
libview/ev-timeline.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libview/ev-timeline.c b/libview/ev-timeline.c
index 9e47494..1f7644b 100644
--- a/libview/ev-timeline.c
+++ b/libview/ev-timeline.c
@@ -150,7 +150,7 @@ ev_timeline_run_frame (EvTimeline *timeline)
gdouble progress;
guint elapsed_time;
- GDK_THREADS_ENTER ();
+ gdk_threads_enter ();
priv = EV_TIMELINE_GET_PRIV (timeline);
@@ -174,7 +174,7 @@ ev_timeline_run_frame (EvTimeline *timeline)
}
}
- GDK_THREADS_LEAVE ();
+ gdk_threads_leave ();
return TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]