forked from AuroraMiddleware/gtk
tests: Remove references to long-deleted property
This commit is contained in:
parent
60719bb67c
commit
5415d05359
@ -485,9 +485,6 @@ main (gint argc, gchar **argv)
|
|||||||
|
|
||||||
cell = gtk_cell_renderer_pixbuf_new ();
|
cell = gtk_cell_renderer_pixbuf_new ();
|
||||||
gtk_cell_layout_pack_start (GTK_CELL_LAYOUT (icon_list), cell, FALSE);
|
gtk_cell_layout_pack_start (GTK_CELL_LAYOUT (icon_list), cell, FALSE);
|
||||||
g_object_set (cell,
|
|
||||||
"follow-state", TRUE,
|
|
||||||
NULL);
|
|
||||||
gtk_cell_layout_set_attributes (GTK_CELL_LAYOUT (icon_list),
|
gtk_cell_layout_set_attributes (GTK_CELL_LAYOUT (icon_list),
|
||||||
cell, "pixbuf", 0, NULL);
|
cell, "pixbuf", 0, NULL);
|
||||||
|
|
||||||
@ -513,9 +510,6 @@ main (gint argc, gchar **argv)
|
|||||||
|
|
||||||
cell = gtk_cell_renderer_pixbuf_new ();
|
cell = gtk_cell_renderer_pixbuf_new ();
|
||||||
gtk_cell_layout_pack_start (GTK_CELL_LAYOUT (tvc), cell, FALSE);
|
gtk_cell_layout_pack_start (GTK_CELL_LAYOUT (tvc), cell, FALSE);
|
||||||
g_object_set (cell,
|
|
||||||
"follow-state", TRUE,
|
|
||||||
NULL);
|
|
||||||
gtk_cell_layout_set_attributes (GTK_CELL_LAYOUT (tvc),
|
gtk_cell_layout_set_attributes (GTK_CELL_LAYOUT (tvc),
|
||||||
cell, "pixbuf", 0, NULL);
|
cell, "pixbuf", 0, NULL);
|
||||||
|
|
||||||
|
@ -525,8 +525,7 @@ test_type (gconstpointer data)
|
|||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (g_type_is_a (pspec->owner_type, GTK_TYPE_CELL_RENDERER_PIXBUF) &&
|
if (g_type_is_a (pspec->owner_type, GTK_TYPE_CELL_RENDERER_PIXBUF) &&
|
||||||
(g_str_equal (pspec->name, "follow-state") ||
|
(g_str_equal (pspec->name, "stock-id") ||
|
||||||
g_str_equal (pspec->name, "stock-id") ||
|
|
||||||
g_str_equal (pspec->name, "stock-size")))
|
g_str_equal (pspec->name, "stock-size")))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user