From 73c07e64b66da9509d202d2b95603ba8272a098f Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Thu, 18 May 2006 12:00:46 +0000 Subject: Patch from bug 1489948 to stop using deprecated calls on GTK+ 2. --- include/ScintillaWidget.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') 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); -- cgit v1.2.3