mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-10 07: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;
|
||||
#if HAVE_GTK3
|
||||
GObjectClass *object_class;
|
||||
#else
|
||||
#endif
|
||||
#if !HAVE_GTK3
|
||||
GtkObjectClass *object_class;
|
||||
#endif
|
||||
|
||||
#if HAVE_GTK3
|
||||
object_class = G_OBJECT_CLASS (class);
|
||||
#else
|
||||
#endif
|
||||
#if !HAVE_GTK3
|
||||
object_class = (GtkObjectClass *) class;
|
||||
#endif
|
||||
widget_class = (GtkWidgetClass *) class;
|
||||
|
||||
Reference in New Issue
Block a user