Skip to content
Commit 843547cf authored by Kjell Ahlstedt's avatar Kjell Ahlstedt
Browse files

DBus::Connection: Pass an empty bus name as nullptr

* gio/src/dbusconnection.[hg|ccg]: Some string parameters in some C functions
accept nullptr, others don't.
call(), call_sync(): bus_name: Pass nullptr for an empty string.
emit_signal(): Only destination_bus_name can be nullptr.
               Other string parameters: Pass c_str().
The bug in call() and call_sync() was noticed by Gerlof Fokkema on gtkmm-list.
The bug in emit_signal() is an overreaction to bug 645072. All string
parameters were changed to pass nullptr, but only destination_bus_name
should have been changed.
parent de3b3fa1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment