summaryrefslogtreecommitdiff
path: root/thunarx
diff options
context:
space:
mode:
authorAndre Miranda <andreldm@xfce.org>2019-07-29 23:14:24 -0300
committerAndre Miranda <andreldm@xfce.org>2019-07-29 23:14:24 -0300
commitfad90c557a3241ba8d574b05db8734bfd13f35cb (patch)
treea708b77475414fe1d2dbd1f9a5503ca557b8410d /thunarx
parent9c53c5790d85bdb02c22c747688fb4128be39081 (diff)
downloadthunar-fad90c557a3241ba8d574b05db8734bfd13f35cb.tar.gz
Use designated initializer to avoid compile warnings (Bug #15734)
Diffstat (limited to 'thunarx')
-rw-r--r--thunarx/thunarx.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/thunarx/thunarx.h b/thunarx/thunarx.h
index 2ec42526..e0d6089a 100644
--- a/thunarx/thunarx.h
+++ b/thunarx/thunarx.h
@@ -87,7 +87,7 @@ type_name##_register_type (ThunarxProviderPlugin *thunarx_define_type_plugin) \
{ \
static const GInterfaceInfo thunarx_implement_interface_info = \
{ \
- (GInterfaceInitFunc) (void (*)(void)) iface_init \
+ .interface_init = (GInterfaceInitFunc) (void (*)(void)) iface_init \
}; \
thunarx_provider_plugin_add_interface (thunarx_define_type_plugin, thunarx_define_type_id, TYPE_IFACE, &thunarx_implement_interface_info); \
}