media: Convert headers to #pragma once
This is our current coding style.
This commit is contained in:
@@ -17,8 +17,7 @@
|
||||
* Authors: Benjamin Otte <otte@gnome.org>
|
||||
*/
|
||||
|
||||
#ifndef __GTK_FF_MEDIA_FILE_H__
|
||||
#define __GTK_FF_MEDIA_FILE_H__
|
||||
#pragma once
|
||||
|
||||
#include <gtk/gtkmediafile.h>
|
||||
|
||||
@@ -29,5 +28,3 @@ G_BEGIN_DECLS
|
||||
G_DECLARE_FINAL_TYPE (GtkFfMediaFile, gtk_ff_media_file, GTK, FF_MEDIA_FILE, GtkMediaFile)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_FF_MEDIA_FILE_H__ */
|
||||
|
||||
@@ -17,8 +17,7 @@
|
||||
* Authors: Benjamin Otte <otte@gnome.org>
|
||||
*/
|
||||
|
||||
#ifndef __GTK_GST_MEDIA_FILE_H__
|
||||
#define __GTK_GST_MEDIA_FILE_H__
|
||||
#pragma once
|
||||
|
||||
#include <gtk/gtkmediafile.h>
|
||||
|
||||
@@ -29,5 +28,3 @@ G_BEGIN_DECLS
|
||||
G_DECLARE_FINAL_TYPE (GtkGstMediaFile, gtk_gst_media_file, GTK, GST_MEDIA_FILE, GtkMediaFile)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_GST_MEDIA_FILE_H__ */
|
||||
|
||||
@@ -17,8 +17,7 @@
|
||||
* Authors: Benjamin Otte <otte@gnome.org>
|
||||
*/
|
||||
|
||||
#ifndef __GTK_GST_PAINTABLE_H__
|
||||
#define __GTK_GST_PAINTABLE_H__
|
||||
#pragma once
|
||||
|
||||
#include <gdk/gdk.h>
|
||||
|
||||
@@ -39,5 +38,3 @@ void gtk_gst_paintable_queue_set_texture (GtkGstPaintable
|
||||
double pixel_aspect_ratio);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_GST_PAINTABLE_H__ */
|
||||
|
||||
@@ -18,8 +18,7 @@
|
||||
* Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
#ifndef __GTK_GST_SINK_PRIVATE_H__
|
||||
#define __GTK_GST_SINK_PRIVATE_H__
|
||||
#pragma once
|
||||
|
||||
#include "gtkgstpaintableprivate.h"
|
||||
|
||||
@@ -63,5 +62,3 @@ struct _GtkGstSinkClass
|
||||
GType gtk_gst_sink_get_type (void);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_GST_SINK_PRIVATE_H__ */
|
||||
|
||||
Reference in New Issue
Block a user