Commit 32c80ca6 authored by Benjamin Otte's avatar Benjamin Otte

trayicon: Use gtk_widget_set_visual()

parent 5ac62348
...@@ -849,7 +849,7 @@ gtk_tray_icon_set_visual (GtkTrayIcon *icon) ...@@ -849,7 +849,7 @@ gtk_tray_icon_set_visual (GtkTrayIcon *icon)
if (visual == NULL) if (visual == NULL)
visual = gdk_screen_get_system_visual (screen); 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 static void
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment