mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
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
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue