[gtk+] styleproperties: Rename enum value
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] styleproperties: Rename enum value
- Date: Thu, 2 Jun 2011 00:13:14 +0000 (UTC)
commit d59081310bfc4489efbc399bc9418ea2a64cfdac
Author: Benjamin Otte <otte redhat com>
Date: Tue May 31 12:18:55 2011 +0200
styleproperties: Rename enum value
I want to use that same enum value elsewhere.
gtk/gtkstyleproperties.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gtk/gtkstyleproperties.c b/gtk/gtkstyleproperties.c
index 9a9e739..dfe7915 100644
--- a/gtk/gtkstyleproperties.c
+++ b/gtk/gtkstyleproperties.c
@@ -363,7 +363,7 @@ gtk_style_properties_lookup_property (const gchar *property_name,
/* GParamSpec functionality */
enum {
- GTK_STYLE_PROPERTY_INHERIT = 1 << G_PARAM_USER_SHIFT
+ GTK_STYLE_PARAM_INHERIT = 1 << G_PARAM_USER_SHIFT
};
/**
@@ -387,9 +387,9 @@ gtk_style_param_set_inherit (GParamSpec *pspec,
gboolean inherit)
{
if (inherit)
- pspec->flags |= GTK_STYLE_PROPERTY_INHERIT;
+ pspec->flags |= GTK_STYLE_PARAM_INHERIT;
else
- pspec->flags &= ~GTK_STYLE_PROPERTY_INHERIT;
+ pspec->flags &= ~GTK_STYLE_PARAM_INHERIT;
}
/**
@@ -405,7 +405,7 @@ gtk_style_param_set_inherit (GParamSpec *pspec,
gboolean
gtk_style_param_get_inherit (GParamSpec *pspec)
{
- return (pspec->flags & GTK_STYLE_PROPERTY_INHERIT) ? TRUE : FALSE;
+ return (pspec->flags & GTK_STYLE_PARAM_INHERIT) ? TRUE : FALSE;
}
/* GtkStyleProperties methods */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]