summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2019-06-29 00:36:40 +0200
committerraveit65 <[email protected]>2022-07-20 00:10:50 +0200
commite707b1b1656955634e5d2278ab8d5955b8545b45 (patch)
treef5ff4b9365024ba86894abcc54854269959b0399
parent40364e887209bc368687d74d39e8902877d03b51 (diff)
downloadcaja-e707b1b1656955634e5d2278ab8d5955b8545b45.tar.bz2
caja-e707b1b1656955634e5d2278ab8d5955b8545b45.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.
-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 f5d2f025..24cc4f0c 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;
}