From 03bbe996c3d79461c89cac9e578b6ad01d1dcef9 Mon Sep 17 00:00:00 2001 From: lukefromdc Date: Fri, 22 Nov 2024 01:59:43 -0500 Subject: Remove GtkSourceView dependency as we no longer use it --- configure.ac | 9 +-------- stickynotes/stickynotes.h | 2 -- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/configure.ac b/configure.ac index de5ec7d1..9233c8f6 100644 --- a/configure.ac +++ b/configure.ac @@ -297,15 +297,8 @@ AC_ARG_ENABLE([stickynotes], AS_HELP_STRING([--enable-stickynotes], [Enable stickynotes applet.]), enable_stickynotes=$enableval, enable_stickynotes=yes) -if test "x$enable_stickynotes" = "xyes"; then - PKG_CHECK_MODULES(STICKYNOTES, gtksourceview-4, - have_gtksourceview=yes, have_gtksourceview=no) - if test "x$enable_stickynotes" = "xyes" -a "x$have_gtksourceview" = "xno"; then - AC_MSG_ERROR([Stickynotes explicitly requested but gtksourceview not found]) - fi -fi -AM_CONDITIONAL(BUILD_STICKYNOTES_APPLET, test "x$have_gtksourceview" = "xyes") +AM_CONDITIONAL(BUILD_STICKYNOTES_APPLET, test "x$enable_stickynotes" = "xyes") dnl *************************************************************************** dnl *** keyboard accessibility status applet check *** diff --git a/stickynotes/stickynotes.h b/stickynotes/stickynotes.h index 3edea16a..5f42abfa 100644 --- a/stickynotes/stickynotes.h +++ b/stickynotes/stickynotes.h @@ -24,8 +24,6 @@ #include #include -#include - typedef struct { GtkWidget *w_window; /* Sticky Note window */ -- cgit v1.2.1