gtk+ r19960 - in branches/gtk-2-12: . gtk



Author: tml
Date: Wed Apr  2 11:24:42 2008
New Revision: 19960
URL: http://svn.gnome.org/viewvc/gtk+?rev=19960&view=rev

Log:
2008-04-02  Tor Lillqvist  <tml novell com>

	* gtk/Makefile.am: Don't bother compiling gtksearchenginebeagle.c
	and gtksearchenginetracker.c on Windows.

	* gtk/gtksearchengine.c: Don't define HAVE_BEAGLE and HAVE_TRACKER
	on Windows.



Modified:
   branches/gtk-2-12/ChangeLog
   branches/gtk-2-12/gtk/Makefile.am
   branches/gtk-2-12/gtk/gtksearchengine.c

Modified: branches/gtk-2-12/gtk/Makefile.am
==============================================================================
--- branches/gtk-2-12/gtk/Makefile.am	(original)
+++ branches/gtk-2-12/gtk/Makefile.am	Wed Apr  2 11:24:42 2008
@@ -345,8 +345,6 @@
 gtk_private_h_sources =		\
 	gtkquery.h		\
 	gtksearchengine.h	\
-	gtksearchenginebeagle.h	\
-	gtksearchenginetracker.h\
 	gtksearchenginesimple.h	\
 	gtkdndcursors.h		\
 	gtkentryprivate.h	\
@@ -392,8 +390,6 @@
 gtk_base_c_sources =            \
 	gtkquery.c		\
 	gtksearchengine.c	\
-	gtksearchenginebeagle.c	\
-	gtksearchenginetracker.c\
 	gtksearchenginesimple.c	\
 	fnmatch.c		\
 	gtkaboutdialog.c	\
@@ -630,7 +626,9 @@
 	gtkprintjob.c			\
 	gtkprintoperation-unix.c	\
 	gtkprintunixdialog.c		\
-        gtkprintbackend.c
+        gtkprintbackend.c		\
+	gtksearchenginebeagle.c		\
+	gtksearchenginetracker.c
 gtk_all_c_sources += $(gtk_os_unix_c_sources)
 if OS_UNIX
 gtk_private_h_sources += \
@@ -640,7 +638,9 @@
 	gtkprinter-private.h		\
 	gtkprinteroption.h		\
 	gtkprinteroptionset.h		\
-	gtkprinteroptionwidget.h
+	gtkprinteroptionwidget.h	\
+	gtksearchenginebeagle.h		\
+	gtksearchenginetracker.h
 gtk_c_sources += $(gtk_os_unix_c_sources)
 endif
 

Modified: branches/gtk-2-12/gtk/gtksearchengine.c
==============================================================================
--- branches/gtk-2-12/gtk/gtksearchengine.c	(original)
+++ branches/gtk-2-12/gtk/gtksearchengine.c	Wed Apr  2 11:24:42 2008
@@ -29,9 +29,15 @@
 
 #include <gdk/gdkconfig.h> /* for GDK_WINDOWING_QUARTZ */
 
+#ifndef G_OS_WIN32		/* Beagle and tracker are not ported
+				 * to Windows, as far as I know.
+				 */
+
 #define HAVE_BEAGLE  1 
 #define HAVE_TRACKER 1
 
+#endif
+
 enum 
 {
   HITS_ADDED,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]