API: gtk: Add gtk_widget_set_visual()
It turns out that the previous handling of just providing a way to set visuals just on toplevels was not sufficient. In particular it complicated the various implementations of the tray icon specification. This patch reintroduces gtk_widget_set_visual() which behaves very similar to GTK2's gtk_widget_set_colormap(). A future commit will remove the gtk_window_set_visual() function.
Showing with 53 additions and 6 deletions