[gthumb/ext] do not use the deprecated function gdk_event_get_graphics_expose
- From: Paolo Bacchilega <paobac src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gthumb/ext] do not use the deprecated function gdk_event_get_graphics_expose
- Date: Sun, 1 Nov 2009 14:19:40 +0000 (UTC)
commit 19f7af53529a83e520c0f78f6c5ef6f3354fc8c1
Author: Paolo Bacchilega <paobac src gnome org>
Date: Sun Nov 1 15:14:45 2009 +0100
do not use the deprecated function gdk_event_get_graphics_expose
gthumb/gth-image-viewer.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gthumb/gth-image-viewer.c b/gthumb/gth-image-viewer.c
index b1f0c4d..6924a79 100644
--- a/gthumb/gth-image-viewer.c
+++ b/gthumb/gth-image-viewer.c
@@ -1091,6 +1091,7 @@ scroll_to (GthImageViewer *viewer,
/* Process graphics exposures */
+#if 0 /* FIXME: gdk_event_get_graphics_expose is deprecated now */
replay_animation = viewer->priv->play_animation;
viewer->priv->play_animation = FALSE;
while ((event = gdk_event_get_graphics_expose (drawable)) != NULL) {
@@ -1109,6 +1110,7 @@ scroll_to (GthImageViewer *viewer,
gdk_event_free (event);
}
viewer->priv->play_animation = replay_animation;
+#endif
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]