Set ShellTrayManagerChild.manager when creating a child structure
Just because ShellTrayManagerChild had a 'manager' field, I shouldn't have assumed it was actually being set; fixes a crash with tray icons that don't support RGBA visuals.
This commit is contained in:
parent
ff9a42c9b6
commit
ba55264525
@ -290,6 +290,7 @@ na_tray_icon_added (NaTrayManager *na_manager, GtkWidget *socket,
|
||||
gtk_widget_set_colormap (win, gtk_widget_get_colormap (socket));
|
||||
|
||||
child = g_slice_new (ShellTrayManagerChild);
|
||||
child->manager = manager;
|
||||
child->window = win;
|
||||
child->socket = socket;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user