b4n commented on this pull request.
> cell->enabled = TRUE; cell->condition = NULL; cell->hitscount = 0; - - cell_renderer->mode = GTK_CELL_RENDERER_MODE_ACTIVATABLE; + + g_value_init(&mode, G_TYPE_ENUM); + g_value_set_enum(&mode, GTK_CELL_RENDERER_MODE_ACTIVATABLE); + g_object_set_property(G_OBJECT(cell_renderer), "mode", &mode); + g_value_unset(&mode); what about `g_object_set(cell_renderer, "mode", GTK_CELL_RENDERER_MODE_ACTIVATABLE, NULL);`? simpler and virtually identical. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany-plugins/pull/645#pullrequestreview-96652280