GtkSymbolicColor: Take const GdkRGBA in new_literal().

This commit is contained in:
Carlos Garnacho 2010-11-03 11:35:42 +01:00
parent 2efa2947be
commit af20ba6103
2 changed files with 2 additions and 2 deletions

View File

@ -94,7 +94,7 @@ struct _GtkGradient
* Since: 3.0
**/
GtkSymbolicColor *
gtk_symbolic_color_new_literal (GdkRGBA *color)
gtk_symbolic_color_new_literal (const GdkRGBA *color)
{
GtkSymbolicColor *symbolic_color;

View File

@ -34,7 +34,7 @@ typedef struct _GtkGradient GtkGradient;
GType gtk_symbolic_color_get_type (void) G_GNUC_CONST;
GType gtk_gradient_get_type (void) G_GNUC_CONST;
GtkSymbolicColor * gtk_symbolic_color_new_literal (GdkRGBA *color);
GtkSymbolicColor * gtk_symbolic_color_new_literal (const GdkRGBA *color);
GtkSymbolicColor * gtk_symbolic_color_new_name (const gchar *name);
GtkSymbolicColor * gtk_symbolic_color_new_shade (GtkSymbolicColor *color,
gdouble factor);