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:
parent
be0d500024
commit
63f277ae46
|
@ -5,8 +5,6 @@
|
|||
#include <webkit2/webkit2.h>
|
||||
#include <gdk/gdk.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
#define ROSE_TYPE_WEBVIEW rose_webview_get_type()
|
||||
|
||||
G_DECLARE_FINAL_TYPE(RoseWebView, rose_webview, ROSE, WEBVIEW, WebKitWebView)
|
||||
|
|
4
window.h
4
window.h
|
@ -5,8 +5,6 @@
|
|||
#include <gtk/gtk.h>
|
||||
#include <gdk/x11/gdkx.h>
|
||||
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue
Block a user