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/gtktextdisplay.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/gtktextdisplay.c')
-rw-r--r-- | gtk/gtktextdisplay.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtktextdisplay.c b/gtk/gtktextdisplay.c index 24cc0ec6b4..9e8fceac5b 100644 --- a/gtk/gtktextdisplay.c +++ b/gtk/gtktextdisplay.c @@ -224,7 +224,9 @@ gtk_text_renderer_prepare_run (PangoRenderer *renderer, rgba.green = color->green / 65535.; rgba.blue = color->blue / 65535.; rgba.alpha = 1; +G_GNUC_BEGIN_IGNORE_DEPRECATIONS gdk_color_free (color); +G_GNUC_END_IGNORE_DEPRECATIONS text_renderer->error_color = gdk_rgba_copy (&rgba); } |