waylandsink: add G_BEGIN/END_DECLS on all headers for consistency
authorGeorge Kiagiadakis <george.kiagiadakis@collabora.com>
Thu, 22 May 2014 07:10:51 +0000 (10:10 +0300)
committerGeorge Kiagiadakis <george.kiagiadakis@collabora.com>
Tue, 17 Jun 2014 11:51:27 +0000 (13:51 +0200)
ext/wayland/wldisplay.h
ext/wayland/wlvideoformat.h
ext/wayland/wlwindow.h

index 2a90a40..95c11cb 100644 (file)
@@ -25,6 +25,8 @@
 #include <wayland-client.h>
 #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__ */
index b203f9b..72efc81 100644 (file)
 #include <wayland-client.h>
 #include <gst/video/video.h>
 
+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
index 72a9e84..826922b 100644 (file)
@@ -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__ */