[gtk+/wip/css: 59/97] css: No longer expose internal properties
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/css: 59/97] css: No longer expose internal properties
- Date: Mon, 2 Jan 2012 14:58:25 +0000 (UTC)
commit 00e4594ed802aa2f55e7eadf406fba54450d3e19
Author: Benjamin Otte <otte redhat com>
Date: Sat Dec 31 23:07:13 2011 +0100
css: No longer expose internal properties
... in gtk_style_properties_lookup_property(). Those properties will
soon stop having pspecs or even being gettable and settable, so better
not tell anyone about it.
gtk/gtkcsscustomproperty.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkcsscustomproperty.c b/gtk/gtkcsscustomproperty.c
index 1d49492..ab0ec9e 100644
--- a/gtk/gtkcsscustomproperty.c
+++ b/gtk/gtkcsscustomproperty.c
@@ -193,7 +193,7 @@ gtk_style_properties_lookup_property (const gchar *property_name,
node = _gtk_style_property_lookup (property_name);
- if (node)
+ if (GTK_IS_CSS_CUSTOM_PROPERTY (node))
{
if (pspec)
*pspec = node->pspec;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]