summaryrefslogtreecommitdiff
path: root/stickynotes/stickynotes.h
diff options
context:
space:
mode:
Diffstat (limited to 'stickynotes/stickynotes.h')
-rw-r--r--stickynotes/stickynotes.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/stickynotes/stickynotes.h b/stickynotes/stickynotes.h
index 4073c42e..85574df1 100644
--- a/stickynotes/stickynotes.h
+++ b/stickynotes/stickynotes.h
@@ -24,6 +24,13 @@
#include <libwnck/libwnck.h>
#include <stickynotes_applet.h>
+#if GTK_CHECK_VERSION (3, 0, 0)
+#include <gtksourceview/gtksource.h>
+#else
+#include <gtksourceview/gtksourceview.h>
+#include <gtksourceview/gtksourcebuffer.h>
+#endif
+
typedef struct
{
GtkWidget *w_window; /* Sticky Note window */
@@ -48,6 +55,8 @@ typedef struct
GtkWidget *w_resize_se; /* Sticky Note resize button (south east) */
GtkWidget *w_resize_sw; /* Sticky Note resize button (south west) */
+ GtkSourceBuffer *buffer; /* Sticky Note text buffer for undo/redo */
+
GtkToggleAction *ta_lock_toggle_item; /* Lock item in the popup menu */
GtkImage *img_lock; /* Lock image */