mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/virt-viewer
synced 2025-12-29 00:15:15 +00:00
Add gtk_widget_get_realized() define for old gtk+
Fix build with gtk < 2.20
This commit is contained in:
parent
006fcf859c
commit
1e810a543e
@ -53,6 +53,12 @@ G_BEGIN_DECLS
|
||||
#define GDK_F12 GDK_KEY_F12
|
||||
#endif
|
||||
|
||||
#if !GTK_CHECK_VERSION(3, 0, 0)
|
||||
#define gtk_widget_get_realized(widget) \
|
||||
GTK_WIDGET_REALIZED(widget)
|
||||
#endif
|
||||
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* _VIRT_GTK_COMPAT */
|
||||
|
||||
Loading…
Reference in New Issue
Block a user