[Xfce4-commits] <midori:master> Add #define for gtk_widget_has_focus for GTK+ < 2.18
Christian Dywan
noreply at xfce.org
Wed Jan 20 07:22:01 CET 2010
Updating branch refs/heads/master
to 0795c4f13cd347598960089ca5ec5dc1254622ec (commit)
from 04f953dc0df041985a3eb37eb3e002be84ca6fd3 (commit)
commit 0795c4f13cd347598960089ca5ec5dc1254622ec
Author: Christian Dywan <christian at twotoasts.de>
Date: Wed Jan 20 07:11:20 2010 +0100
Add #define for gtk_widget_has_focus for GTK+ < 2.18
midori/sokoke.h | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/midori/sokoke.h b/midori/sokoke.h
index 486dd5c..37d1e46 100644
--- a/midori/sokoke.h
+++ b/midori/sokoke.h
@@ -23,6 +23,10 @@
(G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB)
#endif
+#if !GTK_CHECK_VERSION (2, 18, 0)
+#define gtk_widget_has_focus(widget) GTK_WIDGET_HAS_FOCUS (widget)
+#endif
+
#if !GTK_CHECK_VERSION(2, 12, 0)
void
More information about the Xfce4-commits
mailing list