summaryrefslogtreecommitdiff
path: root/modules/media
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2020-05-29 22:07:17 +0200
committerBenjamin Otte <otte@redhat.com>2020-06-03 16:23:49 +0200
commit0b8cebd6ef015acffc333b82e1023f41e63fb10f (patch)
treec736e9a72b45e19144d00e0301b01f315e3560c8 /modules/media
parent667fd927eee136d662c93be38a0196a2e8f097e4 (diff)
downloadgtk+-0b8cebd6ef015acffc333b82e1023f41e63fb10f.tar.gz
ffmediafile: Add fixes for recent cflags changes
Related: #2771
Diffstat (limited to 'modules/media')
-rw-r--r--modules/media/gtkffmediafile.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/media/gtkffmediafile.c b/modules/media/gtkffmediafile.c
index 04737f7474..cf7a03489f 100644
--- a/modules/media/gtkffmediafile.c
+++ b/modules/media/gtkffmediafile.c
@@ -171,6 +171,7 @@ G_DEFINE_TYPE_EXTENDED (GtkFfMediaFile, gtk_ff_media_file, GTK_TYPE_MEDIA_FILE,
G_IMPLEMENT_INTERFACE (GDK_TYPE_PAINTABLE,
gtk_ff_media_file_paintable_init))
+G_MODULE_EXPORT
void
g_io_module_load (GIOModule *module)
{
@@ -186,17 +187,20 @@ g_io_module_load (GIOModule *module)
0);
}
+G_MODULE_EXPORT
+G_GNUC_NORETURN
void
g_io_module_unload (GIOModule *module)
{
g_assert_not_reached ();
}
+G_MODULE_EXPORT
char **
g_io_module_query (void)
{
char *eps[] = {
- GTK_MEDIA_FILE_EXTENSION_POINT_NAME,
+ (char *) GTK_MEDIA_FILE_EXTENSION_POINT_NAME,
NULL
};