summaryrefslogtreecommitdiff
path: root/libnautilus-private/nautilus-monitor.c
diff options
context:
space:
mode:
authorCarlos Soriano <csoriano@gnome.org>2016-03-07 12:13:59 +0100
committerCarlos Soriano <csoriano@gnome.org>2016-03-07 12:24:01 +0100
commitafdc6f9ac8f67de6ac1a34cbb78e8c4acf242dd7 (patch)
tree00c5176b3e1560c369da98fd2075d7cbc4bf8071 /libnautilus-private/nautilus-monitor.c
parenta974938cb40cc18ac1ef6921c84dacdf0037b773 (diff)
downloadnautilus-afdc6f9ac8f67de6ac1a34cbb78e8c4acf242dd7.tar.gz
content-bar: don't auto destroy the widget
We were auto destroying the content bar if the mime type couldn't be handled. This is wrong since the caller is not aware of anything, trying to show or do other things with the destroyed widget. I'm not sure how this even work, if it worked at all. Previously it wasn't crashing because gtk+ was failing gratefully, however, with the gadget rework, this makes gtk+ crash. We fixed this in the previous patch, only creating the content bar if we can handle the myme types. This patch adds a few more guards and, in any case, avoid to destroy the widget inside the widget itself. https://bugzilla.gnome.org/show_bug.cgi?id=762703
Diffstat (limited to 'libnautilus-private/nautilus-monitor.c')
0 files changed, 0 insertions, 0 deletions