$NetBSD: patch-aa,v 1.6 2007/10/05 22:01:16 joerg Exp $ --- plugins/sourceview/anjuta-languages-manager.c.orig 2007-10-05 20:50:12.000000000 +0000 +++ plugins/sourceview/anjuta-languages-manager.c @@ -110,15 +110,6 @@ get_gconf_key (GtkSourceLanguage *langua return key; } -static gchar * -gdk_color_to_string (GdkColor color) -{ - return g_strdup_printf ("#%04x%04x%04x", - color.red, - color.green, - color.blue); -} - static gchar * tag_style_to_string (const GtkSourceTagStyle *style) { @@ -126,8 +117,8 @@ tag_style_to_string (const GtkSourceTagS gchar *background; gchar *foreground; - background = gdk_color_to_string (style->background); - foreground = gdk_color_to_string (style->foreground); + background = gdk_color_to_string (&style->background); + foreground = gdk_color_to_string (&style->foreground); res = g_strdup_printf ("%d/%s/%s/%d/%d/%d/%d", style->mask,