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/gtktextlayout.c | |
parent | f65af48d51eabb86955c66c07254d36683e35fba (diff) | |
download | gtk+-a5867ffe710695fd1a4676336d856548c68ea530.tar.gz |
Remove some more GdkColor propertieswip/baedert/box
Diffstat (limited to 'gtk/gtktextlayout.c')
-rw-r--r-- | gtk/gtktextlayout.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/gtk/gtktextlayout.c b/gtk/gtktextlayout.c index 9bd55829ae..337e15ad19 100644 --- a/gtk/gtktextlayout.c +++ b/gtk/gtktextlayout.c @@ -1426,13 +1426,6 @@ set_para_values (GtkTextLayout *layout, } display->total_width = MAX (layout->screen_width, layout->width) - h_margin - h_padding; -G_GNUC_BEGIN_IGNORE_DEPRECATIONS - if (style->pg_bg_color) - display->pg_bg_color = gdk_color_copy (style->pg_bg_color); - else - display->pg_bg_color = NULL; -G_GNUC_END_IGNORE_DEPRECATIONS - if (style->pg_bg_rgba) display->pg_bg_rgba = gdk_rgba_copy (style->pg_bg_rgba); else @@ -2633,11 +2626,6 @@ gtk_text_layout_free_line_display (GtkTextLayout *layout, if (display->cursors) g_array_free (display->cursors, TRUE); -G_GNUC_BEGIN_IGNORE_DEPRECATIONS - if (display->pg_bg_color) - gdk_color_free (display->pg_bg_color); -G_GNUC_END_IGNORE_DEPRECATIONS - if (display->pg_bg_rgba) gdk_rgba_free (display->pg_bg_rgba); |