summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2013-09-18 17:02:01 +0200
committerStefano Karapetsas <[email protected]>2013-09-18 17:02:01 +0200
commit47ac58d285ef6cd6076a54a3d2f12cb3208f8c36 (patch)
treef2cae46d305957f2760eb7b2bdd538d3ead60016
parentf66654cf3fc9c5a94003a2823fc64c18a7b987a4 (diff)
downloadcaja-47ac58d285ef6cd6076a54a3d2f12cb3208f8c36.tar.bz2
caja-47ac58d285ef6cd6076a54a3d2f12cb3208f8c36.tar.xz
Possible fix for crash during audio preview
See https://bugzilla.redhat.com/show_bug.cgi?id=959444
-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;