diff options
author | Benjamin Otte <otte@redhat.com> | 2016-12-19 05:18:53 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2016-12-19 05:36:06 +0100 |
commit | 795f38b4cc901972f23eaff9de6c6387a48cf4a3 (patch) | |
tree | 2150380c6334f07138bdfb63f10f8cd27856e844 /tests/testcombo.c | |
parent | 087cb3f987dd49610f6cb0009a62d7ac1332f0ab (diff) | |
download | gtk+-795f38b4cc901972f23eaff9de6c6387a48cf4a3.tar.gz |
cellview: Remove code to modify the background
GtkCellView has a gadget, so peopl can do all their shenanigans with
CSS.
And the original use case (overriding the background so that the
cellview's GdkWindow shares the background color of the combobox) is
outdated since we have transparent backgrounds.
Diffstat (limited to 'tests/testcombo.c')
-rw-r--r-- | tests/testcombo.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/testcombo.c b/tests/testcombo.c index eeff0aba15..2f33493768 100644 --- a/tests/testcombo.c +++ b/tests/testcombo.c @@ -1054,7 +1054,6 @@ main (int argc, char **argv) GtkTreeModel *model; GtkTreePath *path; GtkTreeIter iter; - GdkRGBA color; GtkCellArea *area; gchar *text; gint i; @@ -1237,11 +1236,6 @@ main (int argc, char **argv) gtk_cell_layout_set_attributes (GTK_CELL_LAYOUT (tmp), renderer, "text", 1, NULL); - color.red = 1.0; - color.blue = 1.0; - color.green = 0; - color.alpha = 1.0; - gtk_cell_view_set_background_rgba (GTK_CELL_VIEW (tmp), &color); displayed_row_changed (GTK_COMBO_BOX (combobox), GTK_CELL_VIEW (tmp)); g_signal_connect (combobox, "changed", G_CALLBACK (displayed_row_changed), tmp); |