diff options
author | Javier Jardón <jjardon@gnome.org> | 2011-12-13 11:02:13 +0000 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2011-12-22 02:59:39 +0000 |
commit | a3abc188585156e4a6ba309e26c6d123cfe4f39d (patch) | |
tree | 1227b9514de07422880343126381b3695e536702 /gtk/gtkcellrenderertext.c | |
parent | 115d92aa11d4beb5ea01ce7659bd2f9aca570bb1 (diff) | |
download | gtk+-a3abc188585156e4a6ba309e26c6d123cfe4f39d.tar.gz |
Deprecate all the public API that is using GdkColor struct
Diffstat (limited to 'gtk/gtkcellrenderertext.c')
-rw-r--r-- | gtk/gtkcellrenderertext.c | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/gtk/gtkcellrenderertext.c b/gtk/gtkcellrenderertext.c index ea8973cff4..580e338e55 100644 --- a/gtk/gtkcellrenderertext.c +++ b/gtk/gtkcellrenderertext.c @@ -290,13 +290,20 @@ gtk_cell_renderer_text_class_init (GtkCellRendererTextClass *class) NULL, GTK_PARAM_WRITABLE)); + /** + * GtkCellRendererText:background-gdk: + * + * Background color as a #GdkColor + * + * Deprecated: 3.4: Use #GtkCellRendererText:background-rgba instead. + */ g_object_class_install_property (object_class, PROP_BACKGROUND_GDK, g_param_spec_boxed ("background-gdk", P_("Background color"), P_("Background color as a GdkColor"), GDK_TYPE_COLOR, - GTK_PARAM_READWRITE)); + GTK_PARAM_READWRITE | G_PARAM_DEPRECATED)); /** * GtkCellRendererText:background-rgba: @@ -320,13 +327,20 @@ gtk_cell_renderer_text_class_init (GtkCellRendererTextClass *class) NULL, GTK_PARAM_WRITABLE)); + /** + * GtkCellRendererText:foreground-gdk: + * + * Foreground color as a #GdkColor + * + * Deprecated: 3.4: Use #GtkCellRendererText:foreground-rgba instead. + */ g_object_class_install_property (object_class, PROP_FOREGROUND_GDK, g_param_spec_boxed ("foreground-gdk", P_("Foreground color"), P_("Foreground color as a GdkColor"), GDK_TYPE_COLOR, - GTK_PARAM_READWRITE)); + GTK_PARAM_READWRITE | G_PARAM_DEPRECATED)); /** * GtkCellRendererText:foreground-rgba: |