diff options
author | nyamatongwe <devnull@localhost> | 2006-05-18 12:00:46 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2006-05-18 12:00:46 +0000 |
commit | 73c07e64b66da9509d202d2b95603ba8272a098f (patch) | |
tree | e98813d9d0e05b26fc2e619a6ba3c2e710efe43c /include/ScintillaWidget.h | |
parent | c34ac9ea95a8cb046ae4b6dc09de19d18a240184 (diff) | |
download | scintilla-mirror-73c07e64b66da9509d202d2b95603ba8272a098f.tar.gz |
Patch from bug 1489948 to stop using deprecated calls on GTK+ 2.
Diffstat (limited to 'include/ScintillaWidget.h')
-rw-r--r-- | include/ScintillaWidget.h | 4 |
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); |