From 4ed41f0ba7d200b481e7065a33d4c7175dd722c5 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Fri, 03 Nov 2017 18:52:59 -0400 Subject: Add missing G_BEGIN_DECLS/G_END_DECLS to headers --- (limited to 'src') 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 +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 */ -- cgit v0.9.1