mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 23:50:41 -05:00
Shut up some compiler warnings
This commit is contained in:
parent
54a680266c
commit
8a529123be
@ -112,7 +112,7 @@ struct wl_array *
|
|||||||
meta_wayland_data_source_get_mime_types (const MetaWaylandDataSource *source)
|
meta_wayland_data_source_get_mime_types (const MetaWaylandDataSource *source)
|
||||||
{
|
{
|
||||||
MetaWaylandDataSourcePrivate *priv =
|
MetaWaylandDataSourcePrivate *priv =
|
||||||
meta_wayland_data_source_get_instance_private (source);
|
meta_wayland_data_source_get_instance_private ((MetaWaylandDataSource *)source);
|
||||||
|
|
||||||
return &priv->mime_types;
|
return &priv->mime_types;
|
||||||
}
|
}
|
||||||
@ -966,7 +966,7 @@ meta_wayland_data_source_has_mime_type (const MetaWaylandDataSource *source,
|
|||||||
const gchar *mime_type)
|
const gchar *mime_type)
|
||||||
{
|
{
|
||||||
MetaWaylandDataSourcePrivate *priv =
|
MetaWaylandDataSourcePrivate *priv =
|
||||||
meta_wayland_data_source_get_instance_private (source);
|
meta_wayland_data_source_get_instance_private ((MetaWaylandDataSource *)source);
|
||||||
gchar **p;
|
gchar **p;
|
||||||
|
|
||||||
wl_array_for_each (p, &priv->mime_types)
|
wl_array_for_each (p, &priv->mime_types)
|
||||||
|
Loading…
Reference in New Issue
Block a user