gdk_color_parse returns boolean, not int. (#342569, Masatake Yamato)

2006-05-22  Matthias Clasen  <mclasen@redhat.com>

	* gdk/gdkcolor.h: gdk_color_parse returns boolean, not int.
	(#342569, Masatake Yamato)
This commit is contained in:
Matthias Clasen 2006-05-22 12:58:00 +00:00 committed by Matthias Clasen
parent c2ef3c76f6
commit 58aa5c5e8f
3 changed files with 7 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2006-05-22 Matthias Clasen <mclasen@redhat.com> 2006-05-22 Matthias Clasen <mclasen@redhat.com>
* gdk/gdkcolor.h: gdk_color_parse returns boolean, not int.
(#342569, Masatake Yamato)
* gtk/gtkprintunixdialog.c (dialog_set_scale): Don't return * gtk/gtkprintunixdialog.c (dialog_set_scale): Don't return
a value from a void function. a value from a void function.

View File

@ -1,5 +1,8 @@
2006-05-22 Matthias Clasen <mclasen@redhat.com> 2006-05-22 Matthias Clasen <mclasen@redhat.com>
* gdk/gdkcolor.h: gdk_color_parse returns boolean, not int.
(#342569, Masatake Yamato)
* gtk/gtkprintunixdialog.c (dialog_set_scale): Don't return * gtk/gtkprintunixdialog.c (dialog_set_scale): Don't return
a value from a void function. a value from a void function.

View File

@ -129,7 +129,7 @@ GdkVisual *gdk_colormap_get_visual (GdkColormap *colormap);
GdkColor *gdk_color_copy (const GdkColor *color); GdkColor *gdk_color_copy (const GdkColor *color);
void gdk_color_free (GdkColor *color); void gdk_color_free (GdkColor *color);
gint gdk_color_parse (const gchar *spec, gboolean gdk_color_parse (const gchar *spec,
GdkColor *color); GdkColor *color);
guint gdk_color_hash (const GdkColor *colora); guint gdk_color_hash (const GdkColor *colora);
gboolean gdk_color_equal (const GdkColor *colora, gboolean gdk_color_equal (const GdkColor *colora,