[kdbus] Update kdbus interface header (commit: b620b72c9127) 14/10/16
[platform/upstream/glib.git] / gio / tests / gdbus-example-server.c
index a5cc09d..6f1123d 100644 (file)
@@ -140,6 +140,7 @@ handle_method_call (GDBusConnection       *connection,
           error = NULL;
           g_dbus_connection_send_message (connection,
                                           reply,
+                                          G_DBUS_SEND_MESSAGE_FLAGS_NONE,
                                           NULL, /* out_serial */
                                           &error);
           g_assert_no_error (error);
@@ -362,8 +363,6 @@ main (int argc, char *argv[])
   guint owner_id;
   GMainLoop *loop;
 
-  g_type_init ();
-
   /* We are lazy here - we don't want to manually provide
    * the introspection data structures - so we just build
    * them from XML.