summaryrefslogtreecommitdiff
path: root/src/file-manager/fm-directory-view.c
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2019-06-29 00:36:40 +0200
committerraveit65 <[email protected]>2019-06-29 09:12:28 +0200
commitfa5ea8883fb699fd8ac96413e3f7bda1acbfaa8c (patch)
tree2c6df53f600fcdb21e5526da88c99c0654ac6e1c /src/file-manager/fm-directory-view.c
parent5905eb253db25dfd2dc06ef5a1a1d152b0e20a79 (diff)
downloadcaja-fa5ea8883fb699fd8ac96413e3f7bda1acbfaa8c.tar.bz2
caja-fa5ea8883fb699fd8ac96413e3f7bda1acbfaa8c.tar.xz
fm-directory-view: change G_GNUC_END_IGNORE_DEPRECATIONS place
Fixes cppcheck warnings: [src/file-manager/fm-directory-view.c:1007]: (style) Statements following return, break, continue, goto or throw will never be executed. [src/file-manager/fm-directory-view.c:1080]: (style) Statements following return, break, continue, goto or throw will never be executed.
Diffstat (limited to 'src/file-manager/fm-directory-view.c')
-rw-r--r--src/file-manager/fm-directory-view.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/file-manager/fm-directory-view.c b/src/file-manager/fm-directory-view.c
index 8367bf4d..f157f023 100644
--- a/src/file-manager/fm-directory-view.c
+++ b/src/file-manager/fm-directory-view.c
@@ -1004,8 +1004,8 @@ real_trash (FMDirectoryView *view)
gtk_action_get_visible (action)) {
trash_or_delete_selected_files (view);
return TRUE;
- G_GNUC_END_IGNORE_DEPRECATIONS;
}
+ G_GNUC_END_IGNORE_DEPRECATIONS;
return FALSE;
}
@@ -1077,8 +1077,8 @@ real_delete (FMDirectoryView *view)
gtk_action_get_visible (action)) {
delete_selected_files (view);
return TRUE;
- G_GNUC_END_IGNORE_DEPRECATIONS;
}
+ G_GNUC_END_IGNORE_DEPRECATIONS;
return FALSE;
}