summaryrefslogtreecommitdiff
path: root/src/file-manager/fm-icon-view.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2013-09-18 17:02:01 +0200
committerStefano Karapetsas <[email protected]>2013-09-18 17:50:38 +0200
commite0bff0827f00d1af70c09e38db597e4922f7c2cd (patch)
tree854aa5e9d2dc45a46f127c310b52758b76e2ad25 /src/file-manager/fm-icon-view.c
parent9320cd66487c8da1a8ca3c514cd001515dba83f6 (diff)
downloadcaja-e0bff0827f00d1af70c09e38db597e4922f7c2cd.tar.bz2
caja-e0bff0827f00d1af70c09e38db597e4922f7c2cd.tar.xz
Possible fix for crash during audio preview
See https://bugzilla.redhat.com/show_bug.cgi?id=959444
Diffstat (limited to 'src/file-manager/fm-icon-view.c')
-rw-r--r--src/file-manager/fm-icon-view.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/file-manager/fm-icon-view.c b/src/file-manager/fm-icon-view.c
index 00ee3f0f..888db702 100644
--- a/src/file-manager/fm-icon-view.c
+++ b/src/file-manager/fm-icon-view.c
@@ -2170,6 +2170,8 @@ audio_child_died (GPid pid,
{
FMIconView *icon_view;
+ g_return_if_fail (FM_IS_ICON_VIEW (data));
+
icon_view = FM_ICON_VIEW (data);
icon_view->details->audio_preview_child_watch = 0;