From 63f277ae4648e0376bb90da50e35d691f5b00c08 Mon Sep 17 00:00:00 2001 From: bellrise Date: Mon, 16 May 2022 09:55:39 +0200 Subject: [PATCH] code: Remove G_BEGIN_DECLS & G_END_DECLS We're always compiling for C, so we don't need to C++ compiler cruft. --- webview.h | 2 -- window.h | 4 ---- 2 files changed, 6 deletions(-) diff --git a/webview.h b/webview.h index 983e57a..8a4db61 100644 --- a/webview.h +++ b/webview.h @@ -5,8 +5,6 @@ #include #include -G_BEGIN_DECLS - #define ROSE_TYPE_WEBVIEW rose_webview_get_type() G_DECLARE_FINAL_TYPE(RoseWebView, rose_webview, ROSE, WEBVIEW, WebKitWebView) diff --git a/window.h b/window.h index 33e29f6..0207aeb 100644 --- a/window.h +++ b/window.h @@ -5,8 +5,6 @@ #include #include -G_BEGIN_DECLS - #define ROSE_TYPE_WINDOW rose_window_get_type() G_DECLARE_FINAL_TYPE(RoseWindow, rose_window, ROSE, WINDOW, GtkApplicationWindow) @@ -19,5 +17,3 @@ void rose_window_set_webview(RoseWindow *window, GtkWidget *webview); GActionGroup* rose_window_get_action_group(RoseWindow *window, const char *prefix); - -G_END_DECLS