mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
shell-tray-manager: Silence gdk_window_set_background_pattern warning
Apparently we can't get rid of it without breaking backward compatibility. So let's stick to how GTK handles it and just silence the warning. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/423
This commit is contained in:
parent
1b3c26364b
commit
5a897407d9
1 changed files with 2 additions and 0 deletions
|
|
@ -239,8 +239,10 @@ shell_tray_manager_child_on_realize (GtkWidget *widget,
|
|||
bg_pattern = cairo_pattern_create_rgb (color.red / 255.,
|
||||
color.green / 255.,
|
||||
color.blue / 255.);
|
||||
G_GNUC_BEGIN_IGNORE_DEPRECATIONS
|
||||
gdk_window_set_background_pattern (gtk_widget_get_window (widget),
|
||||
bg_pattern);
|
||||
G_GNUC_END_IGNORE_DEPRECATIONS
|
||||
|
||||
cairo_pattern_destroy (bg_pattern);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue