summaryrefslogtreecommitdiff
path: root/gtk/gtkstylepropertyprivate.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2015-11-20 20:20:00 -0500
committerMatthias Clasen <mclasen@redhat.com>2015-11-20 20:35:39 -0500
commit7c95f50ee297cd727215e41c3bdfbe25d25d5d21 (patch)
tree1f3db20981e41615f258d939dea84ed989613948 /gtk/gtkstylepropertyprivate.h
parentd2d521d4b50a18f5c2fa215dc1ced0de86eec91e (diff)
downloadgtk+-7c95f50ee297cd727215e41c3bdfbe25d25d5d21.tar.gz
Add a way to add aliases for css properties
This will be used to rename some properties in a more systematic way without breaking all users of the old name.
Diffstat (limited to 'gtk/gtkstylepropertyprivate.h')
-rw-r--r--gtk/gtkstylepropertyprivate.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtkstylepropertyprivate.h b/gtk/gtkstylepropertyprivate.h
index a92afdc36a..59b281fb5f 100644
--- a/gtk/gtkstylepropertyprivate.h
+++ b/gtk/gtkstylepropertyprivate.h
@@ -67,6 +67,9 @@ GType _gtk_style_property_get_type (void) G_GNUC_CONST
void _gtk_style_property_init_properties (void);
+void _gtk_style_property_add_alias (const gchar *name,
+ const gchar *alias);
+
GtkStyleProperty * _gtk_style_property_lookup (const char *name);
const char * _gtk_style_property_get_name (GtkStyleProperty *property);