diff options
author | nyamatongwe <unknown> | 2006-05-18 12:00:46 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2006-05-18 12:00:46 +0000 |
commit | 8efd08830aa8098032fc71917473d09079af71c2 (patch) | |
tree | e98813d9d0e05b26fc2e619a6ba3c2e710efe43c /include/ScintillaWidget.h | |
parent | e157ee1885ff0a21159ccd2f575288d00853fa1e (diff) | |
download | scintilla-mirror-8efd08830aa8098032fc71917473d09079af71c2.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); |