Add #define for gtk_widget_has_focus for GTK+ < 2.18

This commit is contained in:
Christian Dywan 2010-01-20 07:11:20 +01:00
parent 04f953dc0d
commit 0795c4f13c

View file

@ -23,6 +23,10 @@
(G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB) (G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB)
#endif #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) #if !GTK_CHECK_VERSION(2, 12, 0)
void void