[gtk+] styleproperty: Use the long form to register background-color
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] styleproperty: Use the long form to register background-color
- Date: Mon, 26 Sep 2011 14:00:29 +0000 (UTC)
commit 61525f0662433834733688598c912ed29687d28c
Author: Benjamin Otte <otte redhat com>
Date: Mon Sep 26 15:48:53 2011 +0200
styleproperty: Use the long form to register background-color
We want to set a default value.
gtk/gtkstyleproperty.c | 18 ++++++++++++------
1 files changed, 12 insertions(+), 6 deletions(-)
---
diff --git a/gtk/gtkstyleproperty.c b/gtk/gtkstyleproperty.c
index c907bfd..483feaa 100644
--- a/gtk/gtkstyleproperty.c
+++ b/gtk/gtkstyleproperty.c
@@ -2551,12 +2551,18 @@ gtk_style_property_init (void)
NULL,
NULL,
NULL);
-
- gtk_style_properties_register_property (NULL,
- g_param_spec_boxed ("background-color",
- "Background color",
- "Background color",
- GDK_TYPE_RGBA, 0));
+ _gtk_style_property_register (g_param_spec_boxed ("background-color",
+ "Background color",
+ "Background color",
+ GDK_TYPE_RGBA, 0),
+ 0,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL);
_gtk_style_property_register (g_param_spec_boxed ("font-family",
"Font family",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]