summaryrefslogtreecommitdiff
path: root/src/totem-options.h
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2022-03-31 16:05:40 +0200
committerBastien Nocera <hadess@hadess.net>2022-03-31 16:05:40 +0200
commit1570003efe595bb8781fdf9de3e25d2f7e028052 (patch)
tree227640eb016cbc8328430f0e453d0a04e18eb68b /src/totem-options.h
parent3aba1a449a6084253c4f4aa49e5887a17df9b34c (diff)
downloadtotem-1570003efe595bb8781fdf9de3e25d2f7e028052.tar.gz
all: Clean up headers
Use #pragma once and remove G_BEGIN_DECLS/G_END_DECLS
Diffstat (limited to 'src/totem-options.h')
-rw-r--r--src/totem-options.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/totem-options.h b/src/totem-options.h
index f38870649..f345164bc 100644
--- a/src/totem-options.h
+++ b/src/totem-options.h
@@ -20,15 +20,12 @@
Author: Bastien Nocera <hadess@hadess.net>
*/
-#ifndef TOTEM_OPTIONS_H
-#define TOTEM_OPTIONS_H
+#pragma once
#include <gtk/gtk.h>
#include "totem.h"
-G_BEGIN_DECLS
-
/* Stores the state of the command line options */
typedef struct {
gboolean playpause;
@@ -57,7 +54,3 @@ extern TotemCmdLineOptions optionstate;
void totem_options_register_remote_commands (Totem *totem);
void totem_options_process_for_server (Totem *totem,
TotemCmdLineOptions* options);
-
-G_END_DECLS
-
-#endif /* TOTEM_OPTIONS_H */