gnome-shell/src
Jonas Dreßler 2327fc9287 st/theme: Remove entry from files_by_stylesheet after emitting signal
Since e06109c23c we keep old theme nodes
valid during the emission of the "custom-stylesheets-changed" signal.

It turns out that we might still look up the file of a stylesheet using
the files_by_stylesheet hashtable during the emission of that signal,
causing a crash because the assertion in _st_theme_resolve_url() fails.

So fix that and remove the stylesheet entry from the files_by_stylesheet
hashtable after emitting the "custom-stylesheets-changed" signal. And to
be consistent, also remove the entry from the stylesheets_by_file
hashtable after emitting the signal.

Fixes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2757


(cherry picked from commit 0f947d4ff9)
2020-05-21 22:47:15 +00:00
..
calendar-server calendar-server: Remove unused defines 2020-02-26 22:53:00 +00:00
hotplug-sniffer cleanup: Use g_clear_handle_id() for g_source_remove() 2019-11-22 01:45:25 +01:00
st st/theme: Remove entry from files_by_stylesheet after emitting signal 2020-05-21 22:47:15 +00:00
tray
data-to-c.pl
gnome-shell-extension-prefs Add small gnome-shell-extension-prefs script 2020-04-30 00:57:27 +02:00
gnome-shell-extension-tool.in
gnome-shell-perf-tool.in perf-tool: Allow to run as a Wayland compositor 2020-01-27 13:43:06 +00:00
gnome-shell-plugin.c
gnome-shell-portal-helper.c
gtkactionmuxer.c cleanup: Use g_clear_signal_handler() where possible 2019-11-21 22:37:37 +00:00
gtkactionmuxer.h
gtkactionobservable.c
gtkactionobservable.h
gtkactionobserver.c
gtkactionobserver.h
main.c main: Stop owning the public org.freedesktop.Notifications name 2020-03-12 16:09:27 +00:00
meson.build Add small gnome-shell-extension-prefs script 2020-04-30 00:57:27 +02:00
org.gtk.Application.xml
run-js-test.c tests: Don't initialize Clutter 2019-08-27 15:30:51 +03:00
shell-action-modes.h
shell-app-cache-private.h app-cache: add ShellAppCache for GAppInfo caching 2020-03-11 18:06:15 -07:00
shell-app-cache.c Revert "app-cache: Fix cache for folder translations" 2020-04-13 15:04:31 +00:00
shell-app-private.h
shell-app-system-private.h
shell-app-system.c app-cache: add ShellAppCache for GAppInfo caching 2020-03-11 18:06:15 -07:00
shell-app-system.h
shell-app-usage.c cleanup: Use g_clear_handle_id() for g_source_remove() 2019-11-22 01:45:25 +01:00
shell-app-usage.h
shell-app.c shell-app: Use container widget for fallback X11 app icons 2020-04-06 15:00:05 +00:00
shell-app.h
shell-blur-effect.c blur-effect: Handle failure of background blitting gracefully 2020-03-27 22:31:57 +00:00
shell-blur-effect.h blur-effect: Use sigma value instead of blur radius 2020-02-12 11:10:38 -03:00
shell-embedded-window-private.h
shell-embedded-window.c
shell-embedded-window.h
shell-global-private.h
shell-global.c shell: fix typo in comment 2020-02-26 19:00:05 -08:00
shell-global.h shell: Add API to access switcheroo-control D-Bus proxy 2019-12-13 00:44:28 +01:00
shell-glsl-effect.c Use paint and pick context to get framebuffer 2019-12-03 19:07:15 +00:00
shell-glsl-effect.h
shell-gtk-embed.c cleanup: Use g_clear_signal_handler() where possible 2019-11-21 22:37:37 +00:00
shell-gtk-embed.h
shell-invert-lightness-effect.c Use paint and pick context to get framebuffer 2019-12-03 19:07:15 +00:00
shell-invert-lightness-effect.h
shell-keyring-prompt.c
shell-keyring-prompt.h
shell-mount-operation.c
shell-mount-operation.h
shell-network-agent.c shell/network-agent: Wrap nm_plugin_info_new_search_file() 2020-03-17 14:07:15 +00:00
shell-network-agent.h shell/network-agent: Wrap nm_plugin_info_new_search_file() 2020-03-17 14:07:15 +00:00
shell-perf-helper.c perf-helper: Remove unused atoms 2019-12-05 16:51:00 +01:00
shell-perf-log.c cleanup: Use g_clear_handle_id() for g_source_remove() 2019-11-22 01:45:25 +01:00
shell-perf-log.h
shell-polkit-authentication-agent.c
shell-polkit-authentication-agent.h
shell-recorder-src.c cleanup: Use g_clear_handle_id() for g_source_remove() 2019-11-22 01:45:25 +01:00
shell-recorder-src.h
shell-recorder.c shell Always draw the cursor ourself when capturing stage 2020-04-29 12:38:01 +00:00
shell-recorder.h
shell-screenshot.c shell Always draw the cursor ourself when capturing stage 2020-04-29 12:38:01 +00:00
shell-screenshot.h shell: Make screenshot API stream based 2019-11-06 22:45:22 +00:00
shell-secure-text-buffer.c
shell-secure-text-buffer.h
shell-stack.c shell/stack: Ignore hidden children for focus navigation 2020-02-24 12:29:44 +00:00
shell-stack.h
shell-tray-icon.c
shell-tray-icon.h
shell-tray-manager.c shell/tray-manager: Delay managing screen if necessary 2020-03-06 18:45:21 +00:00
shell-tray-manager.h shell/tray-manager: Allow to unmanage screen 2020-03-06 18:45:21 +00:00
shell-util.c shell: Fix return value if the systemd unit is actually successfully run 2020-05-13 19:50:57 +02:00
shell-util.h shell/util: Add touch_file_async() helper 2020-03-25 20:03:01 +00:00
shell-window-tracker-private.h
shell-window-tracker.c
shell-window-tracker.h
shell-wm-private.h
shell-wm.c
shell-wm.h