From c42b517cbf2c7e85b3f0528fc130a349f391f888 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Thu, 25 Mar 2010 23:49:46 +0000 Subject: Removed support for GTK+ 1.x. --- include/ScintillaWidget.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'include/ScintillaWidget.h') diff --git a/include/ScintillaWidget.h b/include/ScintillaWidget.h index 61650c9e2..7521f4c06 100644 --- a/include/ScintillaWidget.h +++ b/include/ScintillaWidget.h @@ -34,21 +34,13 @@ 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); void scintilla_release_resources(void); -#if GTK_MAJOR_VERSION < 2 -#define SCINTILLA_NOTIFY "notify" -#else #define SCINTILLA_NOTIFY "sci-notify" -#endif #ifdef __cplusplus } -- cgit v1.2.3