mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-05 16:20:10 +00:00
trayicon: Use gtk_widget_set_visual()
This commit is contained in:
parent
5ac6234815
commit
32c80ca6a9
@ -849,7 +849,7 @@ gtk_tray_icon_set_visual (GtkTrayIcon *icon)
|
||||
if (visual == NULL)
|
||||
visual = gdk_screen_get_system_visual (screen);
|
||||
|
||||
gtk_window_set_visual (GTK_WINDOW (icon), visual);
|
||||
gtk_widget_set_visual (GTK_WIDGET (icon), visual);
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user