summaryrefslogtreecommitdiff
path: root/src/nautilus-window-private.h
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2012-06-12 12:03:26 -0400
committerCosimo Cecchi <cosimoc@gnome.org>2012-06-12 12:03:26 -0400
commit2ec2ff031277e85a8e3a636fedd57ddc61494026 (patch)
tree4520c63b82b5d421b59815b31a9cdd3482d3ee9b /src/nautilus-window-private.h
parent217185b485edcd8983d44500b2a69bf20992ed78 (diff)
downloadnautilus-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.h1
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 */