diff options
author | rbuj <[email protected]> | 2021-10-26 22:32:44 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2021-12-11 16:20:56 +0100 |
commit | caf2e12de3009c40061fd1a3598ca819065481d6 (patch) | |
tree | e0eabf22acd681988842866c820c74a6f99e415f | |
parent | 0af959c26303eda2f7e16f938b4d9c6d2df2007e (diff) | |
download | mate-menus-caf2e12de3009c40061fd1a3598ca819065481d6.tar.bz2 mate-menus-caf2e12de3009c40061fd1a3598ca819065481d6.tar.xz |
Remove extra whitespaces on #ifdef..#endif code block
-rw-r--r-- | libmenu/matemenu-tree.c | 6 | ||||
-rw-r--r-- | libmenu/menu-util.h | 21 |
2 files changed, 13 insertions, 14 deletions
diff --git a/libmenu/matemenu-tree.c b/libmenu/matemenu-tree.c index 88d933d..1c93d5a 100644 --- a/libmenu/matemenu-tree.c +++ b/libmenu/matemenu-tree.c @@ -658,7 +658,7 @@ matemenu_tree_finalize (GObject *object) tree); g_object_unref (tree->settings); -# endif /* WITH_COLLECTION */ +#endif /* WITH_COLLECTION */ G_OBJECT_CLASS (matemenu_tree_parent_class)->finalize (object); } @@ -740,7 +740,7 @@ collection_applet_changed (GSettings *settings, get_panel_collection_applet (self); g_idle_add (emit_changed_signal, (gpointer)self); } -# endif /* WITH_COLLECTION */ +#endif /* WITH_COLLECTION */ static void matemenu_tree_init (MateMenuTree *self) @@ -753,7 +753,7 @@ matemenu_tree_init (MateMenuTree *self) g_signal_connect (self->settings, "changed::object-id-list", G_CALLBACK (collection_applet_changed), self); -# endif /* WITH_COLLECTION */ +#endif /* WITH_COLLECTION */ } static void diff --git a/libmenu/menu-util.h b/libmenu/menu-util.h index b41e459..ea50f71 100644 --- a/libmenu/menu-util.h +++ b/libmenu/menu-util.h @@ -32,21 +32,20 @@ G_BEGIN_DECLS #ifdef G_ENABLE_DEBUG - void menu_verbose(const char* format, ...) G_GNUC_PRINTF(1, 2); - - void menu_debug_print_layout(MenuLayoutNode* node, gboolean onelevel); +void menu_verbose(const char* format, ...) G_GNUC_PRINTF(1, 2); +void menu_debug_print_layout(MenuLayoutNode* node, gboolean onelevel); #else /* !defined(G_ENABLE_DEBUG) */ - #ifdef G_HAVE_ISO_VARARGS - #define menu_verbose(...) - #elif defined(G_HAVE_GNUC_VARARGS) - #define menu_verbose(format...) - #else - #error "Cannot disable verbose mode due to lack of varargs macros" - #endif +#ifdef G_HAVE_ISO_VARARGS +#define menu_verbose(...) +#elif defined(G_HAVE_GNUC_VARARGS) +#define menu_verbose(format...) +#else +#error "Cannot disable verbose mode due to lack of varargs macros" +#endif - #define menu_debug_print_layout(n, o) +#define menu_debug_print_layout(n, o) #endif /* G_ENABLE_DEBUG */ |