Add #define for gtk_widget_has_focus for GTK+ < 2.18
This commit is contained in:
parent
04f953dc0d
commit
0795c4f13c
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue