aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/ScintillaWidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ScintillaWidget.h')
-rw-r--r--include/ScintillaWidget.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/ScintillaWidget.h b/include/ScintillaWidget.h
index 7f47de7e1..9d23ce2a9 100644
--- a/include/ScintillaWidget.h
+++ b/include/ScintillaWidget.h
@@ -34,7 +34,11 @@ struct _ScintillaClass {
void (* notify) (ScintillaObject *ttt);
};
+#if GLIB_MAJOR_VERSION < 2
GtkType scintilla_get_type (void);
+#else
+GType scintilla_get_type (void);
+#endif
GtkWidget* scintilla_new (void);
void scintilla_set_id (ScintillaObject *sci, uptr_t id);
sptr_t scintilla_send_message (ScintillaObject *sci,unsigned int iMessage, uptr_t wParam, sptr_t lParam);