gtk-css-engine r163 - in trunk: . src



Author: robsta
Date: Mon Oct  6 15:43:01 2008
New Revision: 163
URL: http://svn.gnome.org/viewvc/gtk-css-engine?rev=163&view=rev

Log:
* configure.in:
* src/gce-color.c (gce_color_lookup):
* src/gce-functions.c (color):
Fix `make distcheck'.



Modified:
   trunk/ChangeLog
   trunk/configure.in
   trunk/src/gce-color.c
   trunk/src/gce-functions.c

Modified: trunk/configure.in
==============================================================================
--- trunk/configure.in	(original)
+++ trunk/configure.in	Mon Oct  6 15:43:01 2008
@@ -187,7 +187,7 @@
 Libgce:
     CFLAGS                       ${CFLAGS}
     Build debugging code         $enable_debug
-    Support for SVG images       $with_rsvg (requires librsvg)
+    Support for SVG images       $with_rsvg (requires libccss with svg support)
 WIP Support for SVG fragments    $with_soup (requires libsoup)
 
 Theme engine:

Modified: trunk/src/gce-color.c
==============================================================================
--- trunk/src/gce-color.c	(original)
+++ trunk/src/gce-color.c	Mon Oct  6 15:43:01 2008
@@ -33,12 +33,12 @@
 	GHashTable	*colors;
 	GdkColor	*system_color;
 
-	g_return_val_if_fail (spec, NULL);
+	g_return_val_if_fail (spec, FALSE);
 
 	settings = gtk_settings_get_default ();
 	colors = NULL;
 	g_object_get (G_OBJECT (settings), "color-hash", &colors, NULL);
-	g_return_val_if_fail (colors, NULL);
+	g_return_val_if_fail (colors, FALSE);
 
 	system_color = (GdkColor *) g_hash_table_lookup (colors, spec);
 	if (system_color) {

Modified: trunk/src/gce-functions.c
==============================================================================
--- trunk/src/gce-functions.c	(original)
+++ trunk/src/gce-functions.c	Mon Oct  6 15:43:01 2008
@@ -245,7 +245,6 @@
 static char *
 color (GSList const *args)
 {
-	GSList const	*iter;
 	GdkColor	 result;
 	gboolean	 ret;
 



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