gst/: Don't use G_GNUC_CONST for _get_type() functions (see #324530 and http://wingolog.org/archives/2005/03/24/98 fo...

Original commit message from CVS:
* gst/gstcaps.h:
* gst/gstdata.h:
* gst/gstprobe.h:
* gst/gststructure.h:
* gst/gsttaginterface.h:
Don't use G_GNUC_CONST for _get_type() functions (see #324530
and http://wingolog.org/archives/2005/03/24/98 for why); yes, we
aim to please even unreleased and mind-boggingly cranky compilers.
This commit is contained in:
Tim-Philipp Müller 2006-01-04 00:10:43 +00:00
parent f1a720a4cb
commit 590e58dc29
7 changed files with 17 additions and 6 deletions

View file

@ -1,3 +1,14 @@
2006-01-04 Tim-Philipp Müller <tim at centricular dot net>
* gst/gstcaps.h:
* gst/gstdata.h:
* gst/gstprobe.h:
* gst/gststructure.h:
* gst/gsttaginterface.h:
Don't use G_GNUC_CONST for _get_type() functions (see #324530
and http://wingolog.org/archives/2005/03/24/98 for why); yes, we
aim to please even unreleased and mind-boggingly cranky compilers.
2005-12-16 Christian Kirbach <Christian.Kirbach@student.uni-siegen.de>
Reviewed by: Tim-Philipp Müller <tim at centricular dot net>

2
common

@ -1 +1 @@
Subproject commit d1911d4b3d6267f9cd9dfb68fcef2afe4d098092
Subproject commit 5f10c872cafb3eb8058d63e438cae029ed9e8d73

View file

@ -69,7 +69,7 @@ struct _GstStaticCaps {
gpointer _gst_reserved[GST_PADDING];
};
GType gst_caps_get_type (void) G_GNUC_CONST;
GType gst_caps_get_type (void);
GstCaps * gst_caps_new_empty (void);
GstCaps * gst_caps_new_any (void);
GstCaps * gst_caps_new_simple (const char *media_type,

View file

@ -99,7 +99,7 @@ GstData* gst_data_ref_by_count (GstData* data, gint count);
void gst_data_unref (GstData* data);
/* GType for GstData */
GType gst_data_get_type (void) G_GNUC_CONST;
GType gst_data_get_type (void);
G_END_DECLS

View file

@ -34,7 +34,7 @@ G_BEGIN_DECLS
typedef struct _GstProbe GstProbe;
GType gst_probe_get_type (void) G_GNUC_CONST;
GType gst_probe_get_type (void);
/* the callback should return FALSE if the data should be discarded */
typedef gboolean (*GstProbeCallback) (GstProbe *probe,

View file

@ -46,7 +46,7 @@ struct _GstStructure {
gpointer _gst_reserved[GST_PADDING];
};
GType gst_structure_get_type (void) G_GNUC_CONST;
GType gst_structure_get_type (void);
GstStructure * gst_structure_empty_new (const gchar * name);
GstStructure * gst_structure_id_empty_new (GQuark quark);

View file

@ -46,7 +46,7 @@ struct _GstTagSetterIFace
/* virtual table */
};
GType gst_tag_setter_get_type (void) G_GNUC_CONST;
GType gst_tag_setter_get_type (void);
void gst_tag_setter_merge (GstTagSetter * setter,
const GstTagList * list,