What should be the second argument of the function gtk_source_mark_attributes_render_icon()
It is clearly of type GtkWidget* and according to the reference page this is
"widget of which style settings may be used"
I find it for a bit unclear.
When I call gtk_source_mark_attributes_render_icon(att, some_random_widget, 40); Nothing seems to happen and the pixbuf rendered in the gutter is
as small as 10x10 or something. I even set the gutter size to 40, because I initially thought, the image is so small, because the width of the gutter is that small.
How can I render bigger pixbufs in the gutter?
I agree, the documentation is quite unclear on this point. I think the widget should probably be the GtkSourceView corresponding to the buffer.
The size is probably affected by the preceding call to
gtk_source_view_mark_attributes_set_icon_name()or whatever you are using to tell it which pixbuf to render.