mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-16 18:50:19 +00:00
Guarded GTK2-only GtkObjectClass declaration/assignment with explicit #if !HAVE_GTK3 checks in gtk_xtext_class_init.
This commit is contained in:
@@ -2618,13 +2618,15 @@ gtk_xtext_class_init (GtkXTextClass * class)
|
|||||||
GtkXTextClass *xtext_class;
|
GtkXTextClass *xtext_class;
|
||||||
#if HAVE_GTK3
|
#if HAVE_GTK3
|
||||||
GObjectClass *object_class;
|
GObjectClass *object_class;
|
||||||
#else
|
#endif
|
||||||
|
#if !HAVE_GTK3
|
||||||
GtkObjectClass *object_class;
|
GtkObjectClass *object_class;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if HAVE_GTK3
|
#if HAVE_GTK3
|
||||||
object_class = G_OBJECT_CLASS (class);
|
object_class = G_OBJECT_CLASS (class);
|
||||||
#else
|
#endif
|
||||||
|
#if !HAVE_GTK3
|
||||||
object_class = (GtkObjectClass *) class;
|
object_class = (GtkObjectClass *) class;
|
||||||
#endif
|
#endif
|
||||||
widget_class = (GtkWidgetClass *) class;
|
widget_class = (GtkWidgetClass *) class;
|
||||||
|
|||||||
Reference in New Issue
Block a user