Commit 325142fb authored by Javier Jardón's avatar Javier Jardón

tests/testcombo.c: Use GdkRGBA instead GdkColor

parent f84c124e
......@@ -1092,7 +1092,7 @@ main (int argc, char **argv)
GtkTreeModel *model;
GtkTreePath *path;
GtkTreeIter iter;
GdkColor color;
GdkRGBA color;
GtkCellArea *area;
gtk_init (&argc, &argv);
......@@ -1285,10 +1285,11 @@ main (int argc, char **argv)
gtk_cell_layout_set_attributes (GTK_CELL_LAYOUT (tmp), renderer,
"text", 1,
NULL); = 0xffff; = 0xffff; = 1.0; = 1.0; = 0;
gtk_cell_view_set_background_color (GTK_CELL_VIEW (tmp), &color);
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);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment