search for: dbus_connection_flush

Displaying 4 results from an estimated 4 matches for "dbus_connection_flush".

2006 Nov 12
4
Include option type in gconf schema
I am writing a configuration front end for the compiz gconf plugin at the moment, but it's proving harder than it should be because gconf does not record what type of compiz option the key is. For example, say i want a color picker for each color option the only way I can tell with gconf if it is color is if it has a # at the beginning, but there could be string option which also have a # at
2007 May 17
0
[PATCH] Add getCoreInfo function
..._TYPE_STRING, &pluginDir, DBUS_TYPE_INVALID); + dbus_message_append_args (reply, DBUS_TYPE_STRING, &homePluginDir, DBUS_TYPE_INVALID); + dbus_message_append_args (reply, DBUS_TYPE_STRING, &metadataDir, DBUS_TYPE_INVALID); + + dbus_connection_send (connection, reply, NULL); + dbus_connection_flush (connection); + + dbus_message_unref (reply); + + return TRUE; +} + +/* * 'GetPluginMetadata' can be used to retrieve metadata for a plugin. * * Example: @@ -1943,6 +1988,15 @@ dbusHandleMessage (DBusConnection *connection, return DBUS_HANDLER_RESULT_HANDLED; } } + el...
2016 Oct 24
2
[PATCH] p2v: Inhibit power saving during the conversion.
...(stderr, "dbus: cannot add message arguments\n"); + goto out; + } + + if (!dbus_connection_send_with_reply (conn, msg, &pending, -1)) { + fprintf (stderr, "dbus: cannot send Inhibit message to logind\n"); + goto out; + } + if (pending == NULL) + goto out; + dbus_connection_flush (conn); + dbus_message_unref (msg); + msg = NULL; + + dbus_pending_call_block (pending); + msg = dbus_pending_call_steal_reply (pending); + if (msg == NULL) { + fprintf (stderr, "dbus: could not read message reply\n"); + goto out; + } + + dbus_pending_call_unref (pending); +...
2019 Sep 10
3
[PATCH 0/2] Remove virt-p2v from libguestfs
Now that virt-p2v has its own repository [1] and releases [2], it is time to remove it from libguestfs. [1] https://github.com/libguestfs/virt-p2v [2] http://download.libguestfs.org/virt-p2v/ Pino Toscano (2): Remove virt-p2v Remove remaining virt-p2v bits .gitignore | 4 - Makefile.am | 7 +- bash/Makefile.am