diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/ScintillaWidget.h | 6 | 
1 files changed, 6 insertions, 0 deletions
diff --git a/include/ScintillaWidget.h b/include/ScintillaWidget.h index e11159722..203f35733 100644 --- a/include/ScintillaWidget.h +++ b/include/ScintillaWidget.h @@ -39,6 +39,12 @@ GtkWidget*	scintilla_new		(void);  void		scintilla_set_id	(ScintillaObject *sci,int id);  sptr_t	scintilla_send_message	(ScintillaObject *sci,unsigned int iMessage, uptr_t wParam, sptr_t lParam); +#if GTK_MAJOR_VERSION < 2 +#define SCINTILLA_NOTIFY "notify" +#else +#define SCINTILLA_NOTIFY "sci-notify" +#endif +  #ifdef __cplusplus  }  #endif  | 
