[Gnucash-changes] Remove unused code.
David Hampton
hampton at cvs.gnucash.org
Sat Apr 30 19:23:27 EDT 2005
Log Message:
-----------
Remove unused code.
Tags:
----
gnucash-gnome2-dev
Modified Files:
--------------
gnucash/src/gnome-search:
Makefile.am
Removed Files:
-------------
gnucash/src/gnome-search:
gnome-search.scm
gw-gnome-search-spec.scm
Revision Data
-------------
Index: Makefile.am
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/src/gnome-search/Makefile.am,v
retrieving revision 1.12.2.6
retrieving revision 1.12.2.7
diff -Lsrc/gnome-search/Makefile.am -Lsrc/gnome-search/Makefile.am -u -r1.12.2.6 -r1.12.2.7
--- src/gnome-search/Makefile.am
+++ src/gnome-search/Makefile.am
@@ -1,6 +1,6 @@
PWD := $(shell pwd)
-pkglib_LTLIBRARIES = libgncmod-gnome-search.la libgw-gnome-search.la
+pkglib_LTLIBRARIES = libgncmod-gnome-search.la
AM_CFLAGS = \
-I${top_srcdir}/src \
@@ -47,8 +47,7 @@
search-int64.h \
search-numeric.h \
search-reconciled.h \
- search-string.h \
- gw-gnome-search.h
+ search-string.h
libgncmod_gnome_search_la_LDFLAGS = -module
@@ -62,54 +61,12 @@
${GLIB_LIBS} \
${GNOME_PRINT_LIBS}
-libgw_gnome_search_la_SOURCES = gw-gnome-search.c
-libgw_gnome_search_la_LDFLAGS = -module ${G_WRAP_LINK_ARGS}
-
-gncmoddir = ${GNC_SHAREDIR}/guile-modules/gnucash
-gncmod_DATA = gnome-search.scm
-
gladedir = $(GNC_GLADE_DIR)
glade_DATA = \
search.glade
-gwmoddir = ${GNC_GWRAP_LIBDIR}
-gwmod_DATA = \
- gw-gnome-search.scm \
- gw-gnome-search-spec.scm
-
EXTRA_DIST = \
.cvsignore \
${glade_DATA} \
${gncmod_DATA} \
${gwmod_DATA}
-
-if GNUCASH_SEPARATE_BUILDDIR
-#Only needed when srcdir and builddir are different
-SCM_FILE_LINKS = gw-gnome-search-spec.scm
-endif
-
-.scm-links:
- rm -f gnucash g-wrapped
- ln -sf . gnucash
- ln -sf . g-wrapped
-if GNUCASH_SEPARATE_BUILDDIR
- for X in ${SCM_FILE_LINKS} ; do \
- ln -sf ${srcdir}/$$X . ; \
- done
-endif
- touch .scm-links
-
-gw-gnome-search.scm gw-gnome-search.c gw-gnome-search.h: \
- .scm-links gw-gnome-search-spec.scm ${top_builddir}/config.status
- FLAVOR=gnome guile -c \
- "(set! %load-path (cons \"${G_WRAP_MODULE_DIR}\" %load-path)) \
- (set! %load-path (cons \"${PWD}\" %load-path)) \
- (set! %load-path (cons \"../engine\" %load-path)) \
- (set! %load-path (cons \"../app-utils\" %load-path)) \
- (set! %load-path (cons \"../gnome-utils\" %load-path)) \
- (primitive-load \"./gw-gnome-search-spec.scm\") \
- (gw:generate-wrapset \"gw-gnome-search\")"
-
-BUILT_SOURCES = gw-gnome-search.scm gw-gnome-search.c gw-gnome-search.h
-DISTCLEANFILES = gnucash g-wrapped .scm-links ${SCM_FILE_LINKS} \
- gw-gnome-search.html
--- src/gnome-search/gw-gnome-search-spec.scm
+++ /dev/null
@@ -1,50 +0,0 @@
-;;; -*-scheme-*-
-
-;(debug-enable 'backtrace)
-;(debug-enable 'debug)
-;(read-enable 'positions)
-
-(debug-set! maxdepth 100000)
-(debug-set! stack 2000000)
-
-(define-module (g-wrapped gw-gnome-search-spec)
- :use-module (g-wrap))
-
-(use-modules (g-wrap))
-
-(use-modules (g-wrap gw-standard-spec))
-(use-modules (g-wrap gw-wct-spec))
-
-(use-modules (g-wrapped gw-gnome-utils-spec))
-
-(let ((ws (gw:new-wrapset "gw-gnome-search")))
-
- (gw:wrapset-depends-on ws "gw-standard")
- (gw:wrapset-depends-on ws "gw-engine")
- (gw:wrapset-depends-on ws "gw-gnome-utils")
-
- (gw:wrapset-set-guile-module! ws '(g-wrapped gw-gnome-search))
-
- (gw:wrapset-add-cs-declarations!
- ws
- (lambda (wrapset client-wrapset)
- (list
- "#include <dialog-search.h>\n"
- )))
-
- (gw:wrapset-add-cs-initializers!
- ws
- (lambda (wrapset client-wrapset status-var)
- (if client-wrapset
- '()
- (gw:inline-scheme '(use-modules (gnucash gnome-search))))))
-
- (gw:wrap-function
- ws
- 'gnc:search-dialog-test
- '<gw:void>
- "gnc_search_dialog_test"
- '()
- "Dialog: create a test Search Dialog.")
-
-)
--- src/gnome-search/gnome-search.scm
+++ /dev/null
@@ -1 +0,0 @@
-(define-module (gnucash gnome-search))
More information about the gnucash-changes
mailing list