mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-06 16:50:11 +00:00
GtkSymbolicColor: Take const GdkRGBA in new_literal().
This commit is contained in:
parent
2efa2947be
commit
af20ba6103
@ -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;
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user