aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/global_shortcuts.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/global_shortcuts.h')
-rw-r--r--src/global_shortcuts.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/global_shortcuts.h b/src/global_shortcuts.h
index 087c177..ddedec7 100644
--- a/src/global_shortcuts.h
+++ b/src/global_shortcuts.h
@@ -1,5 +1,4 @@
-#ifndef GLOBAL_SHORTCUTS_H
-#define GLOBAL_SHORTCUTS_H
+#pragma once
/* Global shortcuts via desktop portal */
@@ -37,5 +36,3 @@ bool gsr_global_shortcuts_list_shortcuts(gsr_global_shortcuts *self, gsr_shortcu
bool gsr_global_shortcuts_bind_shortcuts(gsr_global_shortcuts *self, const gsr_bind_shortcut *shortcuts, int num_shortcuts, gsr_shortcut_callback callback, void *userdata);
bool gsr_global_shortcuts_subscribe_activated_signal(gsr_global_shortcuts *self, gsr_deactivated_callback deactivated_callback, gsr_shortcut_callback shortcut_changed_callback, void *userdata);
-
-#endif /* GLOBAL_SHORTCUTS_H */