From 0187be8e0c387bf38ddfdfe8c3dcd51b4525d503 Mon Sep 17 00:00:00 2001 From: George Kiagiadakis Date: Thu, 22 May 2014 10:10:51 +0300 Subject: [PATCH] waylandsink: add G_BEGIN/END_DECLS on all headers for consistency --- ext/wayland/wldisplay.h | 4 ++++ ext/wayland/wlvideoformat.h | 4 ++++ ext/wayland/wlwindow.h | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/ext/wayland/wldisplay.h b/ext/wayland/wldisplay.h index 2a90a40..95c11cb 100644 --- a/ext/wayland/wldisplay.h +++ b/ext/wayland/wldisplay.h @@ -25,6 +25,8 @@ #include #include "scaler-client-protocol.h" +G_BEGIN_DECLS + #define GST_TYPE_WL_DISPLAY (gst_wl_display_get_type ()) #define GST_WL_DISPLAY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_WL_DISPLAY, GstWlDisplay)) #define GST_IS_WL_DISPLAY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_WL_DISPLAY)) @@ -68,4 +70,6 @@ GstWlDisplay *gst_wl_display_new (const gchar * name, GError ** error); GstWlDisplay *gst_wl_display_new_existing (struct wl_display * display, gboolean take_ownership, GError ** error); +G_END_DECLS + #endif /* __GST_WL_DISPLAY_H__ */ diff --git a/ext/wayland/wlvideoformat.h b/ext/wayland/wlvideoformat.h index b203f9b..72efc81 100644 --- a/ext/wayland/wlvideoformat.h +++ b/ext/wayland/wlvideoformat.h @@ -27,9 +27,13 @@ #include #include +G_BEGIN_DECLS + enum wl_shm_format gst_video_format_to_wayland_format (GstVideoFormat format); GstVideoFormat gst_wayland_format_to_video_format (enum wl_shm_format wl_format); const gchar *gst_wayland_format_to_string (enum wl_shm_format wl_format); +G_END_DECLS + #endif diff --git a/ext/wayland/wlwindow.h b/ext/wayland/wlwindow.h index 72a9e84..826922b 100644 --- a/ext/wayland/wlwindow.h +++ b/ext/wayland/wlwindow.h @@ -23,6 +23,8 @@ #include "wldisplay.h" +G_BEGIN_DECLS + #define GST_TYPE_WL_WINDOW (gst_wl_window_get_type ()) #define GST_WL_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_WL_WINDOW, GstWlWindow)) #define GST_IS_WL_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_WL_WINDOW)) @@ -63,4 +65,6 @@ gboolean gst_wl_window_is_toplevel (GstWlWindow *window); void gst_wl_window_set_size (GstWlWindow * window, gint w, gint h); +G_END_DECLS + #endif /* __GST_WL_WINDOW_H__ */ -- 2.7.4