Skip to content

Commit

Permalink
stickynotes: bump gtksourceview 4
Browse files Browse the repository at this point in the history
GtkSourceBuffer provides the ability to undo or redo the change
to the note text-body.  pluma uses gtksourceview 4, so we don't
need to depend on two versions.
  • Loading branch information
rbuj authored and lukefromdc committed Aug 18, 2022
1 parent d785377 commit 8c06942
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ requires:
- gcc
- git
- gucharmap
- gtksourceview3
- gtksourceview4
- itstool
- libgtop
- libnotify
Expand Down Expand Up @@ -39,7 +39,7 @@ requires:
- libdbus-glib-1-dev
- libglib2.0-dev
- libgtk-3-dev
- libgtksourceview-3.0-dev
- libgtksourceview-4-dev
- libgtop2-dev
- libgucharmap-2-90-dev
- libiw-dev
Expand Down Expand Up @@ -67,7 +67,7 @@ requires:
- cppcheck-htmlreport
- gcc
- git
- gtksourceview3-devel
- gtksourceview4-devel
- gucharmap-devel
- kernel-tools-libs-devel
- libgtop2-devel
Expand Down Expand Up @@ -101,7 +101,7 @@ requires:
- libdbus-glib-1-dev
- libglib2.0-dev
- libgtk-3-dev
- libgtksourceview-3.0-dev
- libgtksourceview-4-dev
- libgtop2-dev
- libgucharmap-2-90-dev
- libiw-dev
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ AC_ARG_ENABLE([stickynotes],
enable_stickynotes=$enableval,
enable_stickynotes=yes)
if test "x$enable_stickynotes" = "xyes"; then
PKG_CHECK_MODULES(STICKYNOTES, gtksourceview-3.0,
PKG_CHECK_MODULES(STICKYNOTES, gtksourceview-4,
have_gtksourceview=yes, have_gtksourceview=no)

if test "x$enable_stickynotes" = "xyes" -a "x$have_gtksourceview" = "xno"; then
Expand Down
2 changes: 1 addition & 1 deletion stickynotes/sticky-notes-note.ui
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<!-- Generated with glade 3.22.1 -->
<interface>
<requires lib="gtk+" version="3.22"/>
<requires lib="gtksourceview" version="3.0"/>
<requires lib="gtksourceview" version="4.0"/>
<object class="GtkSourceBuffer" id="body_buffer">
<property name="max_undo_levels">-1</property>
</object>
Expand Down
2 changes: 0 additions & 2 deletions stickynotes/stickynotes.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@
#include <string.h>
#include <sys/stat.h>

#include <gtksourceview/gtksource.h>

#include "stickynotes.h"
#include "stickynotes_callbacks.h"
#include "util.h"
Expand Down

0 comments on commit 8c06942

Please sign in to comment.