aboutsummaryrefslogtreecommitdiff
path: root/libdbusmenu-glib/server.c
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2012-10-26 13:56:26 +0000
committerTarmac <Unknown>2012-10-26 13:56:26 +0000
commit5173c9382c31800010736052760089cb694d1319 (patch)
tree4f3e104f25b253b67638352c92e07f8b827c38dc /libdbusmenu-glib/server.c
parent35c7a1b8d2abdd3a8c49e9d2733482571d98d38a (diff)
parentd4fc9689e0ac9b605cc8362e09cd16a67eab97b3 (diff)
downloadlibdbusmenu-5173c9382c31800010736052760089cb694d1319.tar.gz
libdbusmenu-5173c9382c31800010736052760089cb694d1319.tar.bz2
libdbusmenu-5173c9382c31800010736052760089cb694d1319.zip
when initializing fields inside a struct being declared, replace gccism with c99 syntax.
Approved by PS Jenkins bot, Albert Astals Cid.
Diffstat (limited to 'libdbusmenu-glib/server.c')
-rw-r--r--libdbusmenu-glib/server.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libdbusmenu-glib/server.c b/libdbusmenu-glib/server.c
index c0cd200..1536e3c 100644
--- a/libdbusmenu-glib/server.c
+++ b/libdbusmenu-glib/server.c
@@ -215,9 +215,9 @@ static gboolean layout_update_idle (gpointer user_data);
static GDBusNodeInfo * dbusmenu_node_info = NULL;
static GDBusInterfaceInfo * dbusmenu_interface_info = NULL;
static const GDBusInterfaceVTable dbusmenu_interface_table = {
- method_call: bus_method_call,
- get_property: bus_get_prop,
- set_property: NULL /* No properties that can be set */
+ .method_call = bus_method_call,
+ .get_property = bus_get_prop,
+ .set_property = NULL /* No properties that can be set */
};
static method_table_t dbusmenu_method_table[METHOD_COUNT];