summaryrefslogtreecommitdiff
path: root/gtk/gtktexttag.c
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.van.berkom@gmail.com>2011-02-14 16:18:35 +0900
committerMatthias Clasen <mclasen@redhat.com>2011-05-06 17:05:34 -0400
commite217c455f8271d4f0c93e4e7158d109c231e2e64 (patch)
tree4f816cc47203e6229bf2a31486a54e2b3033e005 /gtk/gtktexttag.c
parentcefb95011000ad12d9f2cc71c6b9175e1d9746dd (diff)
downloadgtk+-e217c455f8271d4f0c93e4e7158d109c231e2e64.tar.gz
Added Since 3.2 annotations for new GdkRGBA properties.
Diffstat (limited to 'gtk/gtktexttag.c')
-rw-r--r--gtk/gtktexttag.c19
1 files changed, 16 insertions, 3 deletions
diff --git a/gtk/gtktexttag.c b/gtk/gtktexttag.c
index 66d486c9ff..07d513dd58 100644
--- a/gtk/gtktexttag.c
+++ b/gtk/gtktexttag.c
@@ -209,12 +209,18 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
GDK_TYPE_COLOR,
GTK_PARAM_READWRITE));
-
+ /**
+ * GtkTextTag:background-rgba:
+ *
+ * Background color as a (possibly unallocated) #GdkRGBA.
+ *
+ * Since: 3.2
+ */
g_object_class_install_property (object_class,
PROP_BACKGROUND_RGBA,
g_param_spec_boxed ("background-rgba",
P_("Background rgba"),
- P_("Background rgba as a (possibly unallocated) GdkRGBA"),
+ P_("Background color as a (possibly unallocated) GdkRGBA"),
GDK_TYPE_RGBA,
GTK_PARAM_READWRITE));
@@ -242,11 +248,18 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
GDK_TYPE_COLOR,
GTK_PARAM_READWRITE));
+ /**
+ * GtkTextTag:foreground-rgba:
+ *
+ * Foreground color as a (possibly unallocated) #GdkRGBA.
+ *
+ * Since: 3.2
+ */
g_object_class_install_property (object_class,
PROP_FOREGROUND_RGBA,
g_param_spec_boxed ("foreground-rgba",
P_("Foreground rgba"),
- P_("Foreground rgba as a (possibly unallocated) GdkRGBA"),
+ P_("Foreground color as a (possibly unallocated) GdkRGBA"),
GDK_TYPE_RGBA,
GTK_PARAM_READWRITE));