From 49cf5142ba9e9542e3e848f0fc55c4fd2eaa9f7f Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 22 May 2014 09:05:58 -0400 Subject: Deprecate GdkColor It has been replaced by GdkRGBA. Time to make it official. http://bugzilla.gnome.org/show_bug.cgi?id=636695 --- gtk/gtkcellrenderertext.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gtk/gtkcellrenderertext.c') 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: -- cgit v1.2.1