[gtk+/wip/css: 6/24] css: Add _gtk_style_property_get_count()
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/css: 6/24] css: Add _gtk_style_property_get_count()
- Date: Thu, 29 Dec 2011 13:59:00 +0000 (UTC)
commit 1f37d66cdb244368d1a24ebb1d1373e7571d4616
Author: Benjamin Otte <otte redhat com>
Date: Fri Dec 23 14:30:59 2011 +0100
css: Add _gtk_style_property_get_count()
gtk/gtkstyleproperty.c | 6 ++++++
gtk/gtkstylepropertyprivate.h | 2 ++
2 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkstyleproperty.c b/gtk/gtkstyleproperty.c
index f1738b1..681acf6 100644
--- a/gtk/gtkstyleproperty.c
+++ b/gtk/gtkstyleproperty.c
@@ -2241,6 +2241,12 @@ border_color_default_value (GtkStyleProperties *props,
/*** API ***/
+guint
+_gtk_style_property_get_count (void)
+{
+ return __n_style_properties;
+}
+
static void
css_string_funcs_init (void)
{
diff --git a/gtk/gtkstylepropertyprivate.h b/gtk/gtkstylepropertyprivate.h
index 5692490..fc52ae5 100644
--- a/gtk/gtkstylepropertyprivate.h
+++ b/gtk/gtkstylepropertyprivate.h
@@ -63,6 +63,8 @@ struct _GtkStyleProperty
GtkStyleUnsetFunc unset_func;
};
+guint _gtk_style_property_get_count (void);
+
const GtkStyleProperty * _gtk_style_property_lookup (const char *name);
void _gtk_style_property_register (GParamSpec *pspec,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]