Updated the gtkobject.h include guard to rely on GTK_MAJOR_VERSION, preventing GTK3 Windows build failures when HAVE_GTK3 isn’t defined.

This commit is contained in:
2026-02-04 14:42:34 -07:00
parent 0fd51e5c8a
commit 752b10273b

View File

@@ -21,7 +21,7 @@
#define ZOITECHAT_XTEXT_H
#include <gtk/gtk.h>
#if !HAVE_GTK3
#if !defined(GTK_MAJOR_VERSION) || GTK_MAJOR_VERSION < 3
#include <gtk/gtkobject.h>
#endif
#include <cairo.h>