Check "color" argument in gtk_color_button_set_color ()
* gtk/gtkcolorbutton.c: Check "color" argument in gtk_color_button_set_color ()
This commit is contained in:
@ -1,3 +1,7 @@
|
||||
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):
|
||||
|
||||
@ -1,3 +1,7 @@
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user