summaryrefslogtreecommitdiff
path: root/src/totem-uri.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-uri.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-uri.h')
-rw-r--r--src/totem-uri.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/totem-uri.h b/src/totem-uri.h
index 3e89606d9..b5aef7833 100644
--- a/src/totem-uri.h
+++ b/src/totem-uri.h
@@ -20,15 +20,12 @@
Author: Bastien Nocera <hadess@hadess.net>
*/
-#ifndef TOTEM_URI_H
-#define TOTEM_URI_H
+#pragma once
#include "totem.h"
#include <gtk/gtk.h>
#include <gio/gio.h>
-G_BEGIN_DECLS
-
const char * totem_dot_dir (void);
const char * totem_data_dot_dir (void);
char * totem_pictures_dir (void);
@@ -44,9 +41,5 @@ void totem_destroy_file_filters (void);
char * totem_uri_escape_for_display (const char *uri);
GSList * totem_add_files (GtkWindow *parent,
const char *path);
-char * totem_add_subtitle (GtkWindow *parent,
+char * totem_add_subtitle (GtkWindow *parent,
const char *uri);
-
-G_END_DECLS
-
-#endif /* TOTEM_URI_H */