diff options
author | Timm Bäder <mail@baedert.org> | 2016-10-20 19:51:43 +0200 |
---|---|---|
committer | Timm Bäder <mail@baedert.org> | 2016-10-20 20:12:08 +0200 |
commit | a5867ffe710695fd1a4676336d856548c68ea530 (patch) | |
tree | 8f39749557ffd8d4b159a09921db6c72b28ca438 /gtk/gtktextattributes.c | |
parent | f65af48d51eabb86955c66c07254d36683e35fba (diff) | |
download | gtk+-a5867ffe710695fd1a4676336d856548c68ea530.tar.gz |
Remove some more GdkColor propertieswip/baedert/box
Diffstat (limited to 'gtk/gtktextattributes.c')
-rw-r--r-- | gtk/gtktextattributes.c | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/gtk/gtktextattributes.c b/gtk/gtktextattributes.c index 21a9d05609..8fc9d10bc1 100644 --- a/gtk/gtktextattributes.c +++ b/gtk/gtktextattributes.c @@ -129,11 +129,6 @@ gtk_text_attributes_copy_values (GtkTextAttributes *src, if (dest->font) pango_font_description_free (dest->font); -G_GNUC_BEGIN_IGNORE_DEPRECATIONS - if (dest->pg_bg_color) - gdk_color_free (dest->pg_bg_color); -G_GNUC_END_IGNORE_DEPRECATIONS - if (dest->pg_bg_rgba) gdk_rgba_free (dest->pg_bg_rgba); @@ -159,11 +154,6 @@ G_GNUC_END_IGNORE_DEPRECATIONS if (src->font) dest->font = pango_font_description_copy (src->font); -G_GNUC_BEGIN_IGNORE_DEPRECATIONS - if (src->pg_bg_color) - dest->pg_bg_color = gdk_color_copy (src->pg_bg_color); -G_GNUC_END_IGNORE_DEPRECATIONS - if (src->pg_bg_rgba) dest->pg_bg_rgba = gdk_rgba_copy (src->pg_bg_rgba); @@ -220,11 +210,6 @@ gtk_text_attributes_unref (GtkTextAttributes *values) if (values->font) pango_font_description_free (values->font); -G_GNUC_BEGIN_IGNORE_DEPRECATIONS - if (values->pg_bg_color) - gdk_color_free (values->pg_bg_color); -G_GNUC_END_IGNORE_DEPRECATIONS - if (values->pg_bg_rgba) gdk_rgba_free (values->pg_bg_rgba); @@ -294,21 +279,8 @@ _gtk_text_attributes_fill_from_tags (GtkTextAttributes *dest, dest->pg_bg_rgba = NULL; } - if (dest->pg_bg_color) - { -G_GNUC_BEGIN_IGNORE_DEPRECATIONS - gdk_color_free (dest->pg_bg_color); - dest->pg_bg_color = NULL; -G_GNUC_END_IGNORE_DEPRECATIONS - } - if (vals->pg_bg_rgba) dest->pg_bg_rgba = gdk_rgba_copy (vals->pg_bg_rgba); - -G_GNUC_BEGIN_IGNORE_DEPRECATIONS - if (vals->pg_bg_color) - dest->pg_bg_color = gdk_color_copy (vals->pg_bg_color); -G_GNUC_END_IGNORE_DEPRECATIONS } if (vals->font) |