[Xfce4-commits] [xfce/thunar] 01/01: Use designated initializer to avoid compile warnings (Bug #15734)

noreply at xfce.org noreply at xfce.org
Tue Jul 30 04:15:36 CEST 2019


This is an automated email from the git hooks/post-receive script.

a   n   d   r   e       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository xfce/thunar.

commit fad90c557a3241ba8d574b05db8734bfd13f35cb
Author: Andre Miranda <andreldm at xfce.org>
Date:   Mon Jul 29 23:14:24 2019 -0300

    Use designated initializer to avoid compile warnings (Bug #15734)
---
 thunarx/thunarx.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/thunarx/thunarx.h b/thunarx/thunarx.h
index 2ec4252..e0d6089 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); \
 }

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list