summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-11-03 18:52:59 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-11-03 18:52:59 (EDT)
commit4ed41f0ba7d200b481e7065a33d4c7175dd722c5 (patch)
tree3bbc86adb2653eb6ea8b8a97fc08c9288876aa25 /src
parentc2a6b1d23472fb9bda5cf24c692208d4ebcd9f96 (diff)
downloadmarquee-4ed41f0ba7d200b481e7065a33d4c7175dd722c5.zip
marquee-4ed41f0ba7d200b481e7065a33d4c7175dd722c5.tar.gz
marquee-4ed41f0ba7d200b481e7065a33d4c7175dd722c5.tar.bz2
Add missing G_BEGIN_DECLS/G_END_DECLS to headers
Diffstat (limited to 'src')
-rw-r--r--src/application.h4
-rw-r--r--src/config/config.h4
-rw-r--r--src/schemes/about.h4
-rw-r--r--src/schemes/about/paths.h4
-rw-r--r--src/schemes/view-source.h4
5 files changed, 20 insertions, 0 deletions
diff --git a/src/application.h b/src/application.h
index d1a3272..529bb23 100644
--- a/src/application.h
+++ b/src/application.h
@@ -31,6 +31,8 @@ typedef struct MqApplication MqApplication;
#include "tab-page.h"
#include "window.h"
+G_BEGIN_DECLS
+
MqApplication *
mq_application_new(const gchar *profile, gboolean private);
@@ -70,4 +72,6 @@ mq_application_marquee_mode_deactivate(MqApplication *application);
gboolean
mq_application_marquee_mode_on(MqApplication *application) G_GNUC_PURE;
+G_END_DECLS
+
#endif
diff --git a/src/config/config.h b/src/config/config.h
index 93af5f8..cec608f 100644
--- a/src/config/config.h
+++ b/src/config/config.h
@@ -26,6 +26,8 @@ typedef struct MqConfig MqConfig;
#include <glib.h>
+G_BEGIN_DECLS
+
typedef void (*MqConfigBooleanCallback)(MqConfig *,
const gchar *, const gboolean, gpointer);
typedef void (*MqConfigIntegerCallback)(MqConfig *,
@@ -90,4 +92,6 @@ void
mq_config_notify_string(MqConfig *config, const gchar *name,
MqConfigStringCallback callback, gpointer user_data);
+G_END_DECLS
+
#endif
diff --git a/src/schemes/about.h b/src/schemes/about.h
index ae224b8..ed7a66f 100644
--- a/src/schemes/about.h
+++ b/src/schemes/about.h
@@ -27,6 +27,8 @@
#include "../application.h"
+G_BEGIN_DECLS
+
void
mq_about_request(WebKitURISchemeRequest *request, MqApplication *application);
@@ -36,4 +38,6 @@ mq_about_response(WebKitURISchemeRequest *request, gchar *contents);
void
mq_about_redirect(WebKitURISchemeRequest *request, const gchar *uri);
+G_END_DECLS
+
#endif
diff --git a/src/schemes/about/paths.h b/src/schemes/about/paths.h
index 1208162..e90c49f 100644
--- a/src/schemes/about/paths.h
+++ b/src/schemes/about/paths.h
@@ -26,6 +26,8 @@
#include "../../application.h"
+G_BEGIN_DECLS
+
void
mq_about_version_response(MqApplication *application, GHashTable *query,
WebKitURISchemeRequest *request);
@@ -38,4 +40,6 @@ void
mq_about_marquee_response(MqApplication *application, GHashTable *query,
WebKitURISchemeRequest *request);
+G_END_DECLS
+
#endif
diff --git a/src/schemes/view-source.h b/src/schemes/view-source.h
index 1f948e5..c323bd0 100644
--- a/src/schemes/view-source.h
+++ b/src/schemes/view-source.h
@@ -27,8 +27,12 @@
#include "../application.h"
+G_BEGIN_DECLS
+
void
mq_view_source_request(WebKitURISchemeRequest *request,
MqApplication *application);
+G_END_DECLS
+
#endif /* MQ_VIEW_SOURCE_H */