]> spindle.queued.net Git - midori/commitdiff
Add #define for gtk_widget_has_focus for GTK+ < 2.18
authorChristian Dywan <christian@twotoasts.de>
Wed, 20 Jan 2010 06:11:20 +0000 (07:11 +0100)
committerChristian Dywan <christian@twotoasts.de>
Wed, 20 Jan 2010 06:11:20 +0000 (07:11 +0100)
midori/sokoke.h

index 486dd5cf962f736e49cd4a07efe146a6e0c31407..37d1e46c8ea621fa2e28044461b1ef27f13e3658 100644 (file)
     (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