Commit add83ac9 authored by Tristan Van Berkom's avatar Tristan Van Berkom

Check "color" argument in gtk_color_button_set_color ()


	* gtk/gtkcolorbutton.c: Check "color" argument in gtk_color_button_set_color ()
parent ece16014
2005-09-14 Tristan Van Berkom <tvb@cvs.gnome.org>
* gtk/gtkcolorbutton.c: Check "color" argument in gtk_color_button_set_color ()
2005-09-14 Matthias Clasen <mclasen@redhat.com>
* gtk/gtklabel.c (gtk_label_get_type):
......
2005-09-14 Tristan Van Berkom <tvb@cvs.gnome.org>
* gtk/gtkcolorbutton.c: Check "color" argument in gtk_color_button_set_color ()
2005-09-14 Matthias Clasen <mclasen@redhat.com>
* gtk/gtklabel.c (gtk_label_get_type):
......
......@@ -780,6 +780,7 @@ gtk_color_button_set_color (GtkColorButton *color_button,
const GdkColor *color)
{
g_return_if_fail (GTK_IS_COLOR_BUTTON (color_button));
g_return_if_fail (color != NULL);
color_button->priv->color.red = color->red;
color_button->priv->color.green = color->green;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment