From 37e4d38ca3a61eb843d80732a26f29668352433d Mon Sep 17 00:00:00 2001 From: rbuj Date: Tue, 4 Aug 2020 15:53:16 +0200 Subject: Remove multiple empty lines find . \( -name '*.h' -o -name '*.c' \) -exec sed -i 'N;/^\n$/D;P;D;' {} \; --- src/include/all-keybindings.h | 5 ----- src/include/core.h | 4 ---- src/include/errors.h | 1 - src/include/prefs.h | 3 --- src/include/util.h | 1 - src/include/xprops.h | 3 --- 6 files changed, 17 deletions(-) (limited to 'src/include') diff --git a/src/include/all-keybindings.h b/src/include/all-keybindings.h index cba8e9fd..992d077f 100644 --- a/src/include/all-keybindings.h +++ b/src/include/all-keybindings.h @@ -279,7 +279,6 @@ keybind (move-to-corner-sw, handle_move_to_corner_sw, 0, keybind (move-to-corner-se, handle_move_to_corner_se, 0, BINDING_PER_WINDOW) - keybind (move-to-side-n, handle_move_to_side_n, 0, BINDING_PER_WINDOW) keybind (move-to-side-s, handle_move_to_side_s, 0, @@ -300,10 +299,6 @@ keybind (move-to-monitor-e, handle_move_to_monitor, META_SCREEN_RIGHT, keybind (move-to-monitor-w, handle_move_to_monitor, META_SCREEN_LEFT, BINDING_PER_WINDOW) - - - - keybind (switch-to-workspace-prev, handle_switch_to_workspace, META_MOTION_PREV, 0) diff --git a/src/include/core.h b/src/include/core.h index 54306847..94ec7081 100644 --- a/src/include/core.h +++ b/src/include/core.h @@ -190,7 +190,6 @@ MetaGrabOp meta_core_get_grab_op (Display *xdisplay); Window meta_core_get_grab_frame (Display *xdisplay); int meta_core_get_grab_button (Display *xdisplay); - void meta_core_grab_buttons (Display *xdisplay, Window frame_xwindow); @@ -210,6 +209,3 @@ void meta_invalidate_all_icons (void); #endif - - - diff --git a/src/include/errors.h b/src/include/errors.h index ca6305c0..9282099c 100644 --- a/src/include/errors.h +++ b/src/include/errors.h @@ -45,5 +45,4 @@ void meta_error_trap_pop (MetaDisplay *display, int meta_error_trap_pop_with_return (MetaDisplay *display, gboolean last_request_was_roundtrip); - #endif diff --git a/src/include/prefs.h b/src/include/prefs.h index a7dc2508..3fbb5f57 100644 --- a/src/include/prefs.h +++ b/src/include/prefs.h @@ -265,6 +265,3 @@ MetaVisualBellType meta_prefs_get_visual_bell_type (void); #endif - - - diff --git a/src/include/util.h b/src/include/util.h index fe94bbc6..331a0b96 100644 --- a/src/include/util.h +++ b/src/include/util.h @@ -140,4 +140,3 @@ meta_show_entry_dialog (const char *message, #endif /* META_UTIL_H */ - diff --git a/src/include/xprops.h b/src/include/xprops.h index 1a93a95a..34a49d82 100644 --- a/src/include/xprops.h +++ b/src/include/xprops.h @@ -222,6 +222,3 @@ void meta_prop_free_values (MetaPropValue *values, #endif - - - -- cgit v1.2.1