diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2012-06-12 12:03:26 -0400 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2012-06-12 12:03:26 -0400 |
commit | 2ec2ff031277e85a8e3a636fedd57ddc61494026 (patch) | |
tree | 4520c63b82b5d421b59815b31a9cdd3482d3ee9b /src/nautilus-window-private.h | |
parent | 217185b485edcd8983d44500b2a69bf20992ed78 (diff) | |
download | nautilus-2ec2ff031277e85a8e3a636fedd57ddc61494026.tar.gz |
window-menus: disconnect from GtkSettings notifications on finalize
Or if something (e.g. another process via xsettings) causes the
GtkSettings to change the value of gtk-shell-shows-app-menu after a
window is finalized, our callback will run and we'll crash trying to
access freed memory.
https://bugzilla.gnome.org/show_bug.cgi?id=677945
Diffstat (limited to 'src/nautilus-window-private.h')
-rw-r--r-- | src/nautilus-window-private.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nautilus-window-private.h b/src/nautilus-window-private.h index 0d7a4b3fa..42d48f097 100644 --- a/src/nautilus-window-private.h +++ b/src/nautilus-window-private.h @@ -97,6 +97,7 @@ struct NautilusWindowDetails gboolean disable_chrome; guint sidebar_width_handler_id; + guint app_menu_visibility_id; }; /* window geometry */ |