code: Remove G_BEGIN_DECLS & G_END_DECLS

We're always compiling for C, so we don't need to C++ compiler cruft.
This commit is contained in:
bellrise 2022-05-16 09:55:39 +02:00
parent be0d500024
commit 63f277ae46
2 changed files with 0 additions and 6 deletions

View File

@ -5,8 +5,6 @@
#include <webkit2/webkit2.h> #include <webkit2/webkit2.h>
#include <gdk/gdk.h> #include <gdk/gdk.h>
G_BEGIN_DECLS
#define ROSE_TYPE_WEBVIEW rose_webview_get_type() #define ROSE_TYPE_WEBVIEW rose_webview_get_type()
G_DECLARE_FINAL_TYPE(RoseWebView, rose_webview, ROSE, WEBVIEW, WebKitWebView) G_DECLARE_FINAL_TYPE(RoseWebView, rose_webview, ROSE, WEBVIEW, WebKitWebView)

View File

@ -5,8 +5,6 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include <gdk/x11/gdkx.h> #include <gdk/x11/gdkx.h>
G_BEGIN_DECLS
#define ROSE_TYPE_WINDOW rose_window_get_type() #define ROSE_TYPE_WINDOW rose_window_get_type()
G_DECLARE_FINAL_TYPE(RoseWindow, rose_window, ROSE, WINDOW, GtkApplicationWindow) 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, GActionGroup* rose_window_get_action_group(RoseWindow *window,
const char *prefix); const char *prefix);
G_END_DECLS