diff options
author | Matthias Clasen <mclasen@redhat.com> | 2014-05-22 09:05:58 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2014-05-22 09:09:55 -0400 |
commit | 49cf5142ba9e9542e3e848f0fc55c4fd2eaa9f7f (patch) | |
tree | 2b0794b7842a9d9fe093db0389765ad3dd89b739 /gtk/gtkcellrenderertext.c | |
parent | c3a9a20839955a98266463c6fad4f0190feaccc2 (diff) | |
download | gtk+-49cf5142ba9e9542e3e848f0fc55c4fd2eaa9f7f.tar.gz |
Deprecate GdkColor
It has been replaced by GdkRGBA. Time to make it official.
http://bugzilla.gnome.org/show_bug.cgi?id=636695
Diffstat (limited to 'gtk/gtkcellrenderertext.c')
-rw-r--r-- | gtk/gtkcellrenderertext.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtkcellrenderertext.c b/gtk/gtkcellrenderertext.c index fc17b38014..6402b4be91 100644 --- a/gtk/gtkcellrenderertext.c +++ b/gtk/gtkcellrenderertext.c @@ -295,6 +295,7 @@ gtk_cell_renderer_text_class_init (GtkCellRendererTextClass *class) * * Deprecated: 3.4: Use #GtkCellRendererText:background-rgba instead. */ +G_GNUC_BEGIN_IGNORE_DEPRECATIONS g_object_class_install_property (object_class, PROP_BACKGROUND_GDK, g_param_spec_boxed ("background-gdk", @@ -302,6 +303,7 @@ gtk_cell_renderer_text_class_init (GtkCellRendererTextClass *class) P_("Background color as a GdkColor"), GDK_TYPE_COLOR, GTK_PARAM_READWRITE | G_PARAM_DEPRECATED)); +G_GNUC_END_IGNORE_DEPRECATIONS /** * GtkCellRendererText:background-rgba: @@ -332,6 +334,7 @@ gtk_cell_renderer_text_class_init (GtkCellRendererTextClass *class) * * Deprecated: 3.4: Use #GtkCellRendererText:foreground-rgba instead. */ +G_GNUC_BEGIN_IGNORE_DEPRECATIONS g_object_class_install_property (object_class, PROP_FOREGROUND_GDK, g_param_spec_boxed ("foreground-gdk", @@ -339,6 +342,7 @@ gtk_cell_renderer_text_class_init (GtkCellRendererTextClass *class) P_("Foreground color as a GdkColor"), GDK_TYPE_COLOR, GTK_PARAM_READWRITE | G_PARAM_DEPRECATED)); +G_GNUC_END_IGNORE_DEPRECATIONS /** * GtkCellRendererText:foreground-rgba: |