GDesktopAppInfo: rewrite content type code
[platform/upstream/glib.git] / gio / tests / gdbus-example-unix-fd-client.c
index 500058b..e3ab015 100644 (file)
@@ -30,6 +30,7 @@ get_server_stdout (GDBusConnection  *connection,
                                                         "GimmeStdout");
   method_reply_message = g_dbus_connection_send_message_with_reply_sync (connection,
                                                                          method_call_message,
+                                                                         G_DBUS_SEND_MESSAGE_FLAGS_NONE,
                                                                          -1,
                                                                          NULL, /* out_serial */
                                                                          NULL, /* cancellable */
@@ -115,8 +116,6 @@ main (int argc, char *argv[])
   guint watcher_id;
   GMainLoop *loop;
 
-  g_type_init ();
-
   watcher_id = g_bus_watch_name (G_BUS_TYPE_SESSION,
                                  "org.gtk.GDBus.TestServer",
                                  G_BUS_NAME_WATCHER_FLAGS_NONE,