[gtksourceview: 149/149] Removed devhelp example provider
- From: Jesse van den Kieboom <jessevdk src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtksourceview: 149/149] Removed devhelp example provider
- Date: Mon, 28 Sep 2009 20:25:39 +0000 (UTC)
commit 66519f44929d322af441c02752ed21ead3af5e80
Author: Jesse van den Kieboom <jessevdk gnome org>
Date: Mon Sep 28 22:24:43 2009 +0200
Removed devhelp example provider
configure.ac | 19 --
tests/Makefile.am | 6 -
tests/completion-simple.c | 15 -
tests/gsc-provider-devhelp.c | 584 ------------------------------------------
tests/gsc-provider-devhelp.h | 37 ---
5 files changed, 0 insertions(+), 661 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index f5648b7..8ec138e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -68,25 +68,6 @@ PKG_CHECK_MODULES(DEP, [
gconf-2.0
])
-have_devhelp=no
-AC_ARG_WITH(devhelp,
- AC_HELP_STRING([--with-devhelp],
- [Build with devhelp test case]),,
- with_devhelp=auto)
-if test "x$with_devhelp" != "xno"
-then
- PKG_CHECK_MODULES(DEVHELP, [
- libdevhelp-1.0 >= 0.22
- webkit-1.0
- ], have_devhelp=yes, have_devhelp=no)
-
- if test "x$have_devhelp" = "xyes"
- then
- AC_DEFINE([HAVE_DEVHELP], 1, [Have devhelp])
- fi
-fi
-
-AM_CONDITIONAL(USE_DEVHELP, test "x$have_devhelp" = "xyes")
dnl Check to enable completion providers
AC_ARG_ENABLE(providers,
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 63910bb..6357f53 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -29,12 +29,6 @@ test_completion_LDADD = \
$(DEP_LIBS) \
$(TESTS_LIBS)
-if USE_DEVHELP
-test_completion_SOURCES += gsc-provider-devhelp.h gsc-provider-devhelp.c
-test_completion_LDADD += $(DEVHELP_LIBS)
-INCLUDES += $(DEVHELP_CFLAGS)
-endif
-
testregion_SOURCES = testregion.c
diff --git a/tests/completion-simple.c b/tests/completion-simple.c
index 46ab656..e5a227d 100644
--- a/tests/completion-simple.c
+++ b/tests/completion-simple.c
@@ -31,11 +31,6 @@
#include <gtksourceview/gtksourcelanguagemanager.h>
#include <gtksourceview/completion-providers/words/gtksourcecompletionwords.h>
-#ifdef HAVE_DEVHELP
-#include <devhelp/dh-base.h>
-#include "gsc-provider-devhelp.h"
-#endif
-
static GtkWidget *view;
static GtkSourceCompletion *comp;
@@ -164,16 +159,6 @@ create_completion(void)
gtk_source_completion_add_provider (comp,
GTK_SOURCE_COMPLETION_PROVIDER (prov_words),
NULL);
-
-#ifdef HAVE_DEVHELP
- GscProviderDevhelp *prov_devhelp;
-
- prov_devhelp = gsc_provider_devhelp_new ();
-
- gtk_source_completion_add_provider (comp,
- GTK_SOURCE_COMPLETION_PROVIDER (prov_devhelp),
- NULL);
-#endif
}
int
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]