mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-07 09:10:11 +00:00
GtkStyleSet: Make property registration take const GValues.
This commit is contained in:
parent
fdcda4b356
commit
7647deb417
@ -175,9 +175,9 @@ property_node_lookup (GQuark quark)
|
||||
|
||||
/* Property registration functions */
|
||||
void
|
||||
gtk_style_set_register_property (const gchar *property_name,
|
||||
GType type,
|
||||
GValue *default_value)
|
||||
gtk_style_set_register_property (const gchar *property_name,
|
||||
GType type,
|
||||
const GValue *default_value)
|
||||
{
|
||||
PropertyNode *node, new = { 0 };
|
||||
GQuark quark;
|
||||
|
@ -52,9 +52,9 @@ struct GtkStyleSetClass
|
||||
GType gtk_style_set_get_type (void) G_GNUC_CONST;
|
||||
|
||||
/* Functions to register style properties */
|
||||
void gtk_style_set_register_property (const gchar *property_name,
|
||||
GType type,
|
||||
GValue *default_value);
|
||||
void gtk_style_set_register_property (const gchar *property_name,
|
||||
GType type,
|
||||
const GValue *default_value);
|
||||
|
||||
void gtk_style_set_register_property_color (const gchar *property_name,
|
||||
GdkColor *default_value);
|
||||
|
Loading…
Reference in New Issue
Block a user