[gcompris] minor: little change to support old GTK
- From: Bruno Coudoin <bcoudoin src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gcompris] minor: little change to support old GTK
- Date: Thu, 17 May 2012 20:51:49 +0000 (UTC)
commit eb74cb6c0ed499fbaa6a378c19e350079a07a63d
Author: Bruno Coudoin <bruno coudoin free fr>
Date: Thu May 17 22:51:25 2012 +0200
minor: little change to support old GTK
src/gcompris/gcompris.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/gcompris/gcompris.c b/src/gcompris/gcompris.c
index 16201e2..4b7fb4c 100644
--- a/src/gcompris/gcompris.c
+++ b/src/gcompris/gcompris.c
@@ -896,7 +896,9 @@ static void setup_window ()
init_workspace();
+#if GDK_PIXBUF_MAJOR >= 2 && GDK_PIXBUF_MINOR >= 18
gtk_widget_set_can_focus(canvas, TRUE);
+#endif
gtk_widget_grab_focus (canvas);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]