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/gtkcellrenderer.c | |
parent | 115d92aa11d4beb5ea01ce7659bd2f9aca570bb1 (diff) | |
download | gtk+-a3abc188585156e4a6ba309e26c6d123cfe4f39d.tar.gz |
Deprecate all the public API that is using GdkColor struct
Diffstat (limited to 'gtk/gtkcellrenderer.c')
-rw-r--r-- | gtk/gtkcellrenderer.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gtk/gtkcellrenderer.c b/gtk/gtkcellrenderer.c index 1cef97bffa..d701b74c4f 100644 --- a/gtk/gtkcellrenderer.c +++ b/gtk/gtkcellrenderer.c @@ -380,13 +380,20 @@ gtk_cell_renderer_class_init (GtkCellRendererClass *class) NULL, GTK_PARAM_WRITABLE)); + /** + * GtkCellRenderer:cell-background-gdk: + * + * Cell background as a #GdkColor + * + * Deprecated: 3.4: Use #GtkCellRenderer:cell-background-rgba instead. + */ g_object_class_install_property (object_class, PROP_CELL_BACKGROUND_GDK, g_param_spec_boxed ("cell-background-gdk", P_("Cell background color"), P_("Cell background color as a GdkColor"), GDK_TYPE_COLOR, - GTK_PARAM_READWRITE)); + GTK_PARAM_READWRITE | G_PARAM_DEPRECATED)); /** * GtkCellRenderer:cell-background-rgba: * |