diff options
author | Mark Vender <markv743@yahoo.co.uk> | 2012-10-29 13:06:09 +0100 |
---|---|---|
committer | Kjell Ahlstedt <kjell.ahlstedt@bredband.net> | 2012-10-29 13:06:09 +0100 |
commit | e980da407d311e82a1286b1b480ba15d658f4826 (patch) | |
tree | 6f8a8e9e735a93fc542a2bd399b8be98c07281d9 /glib/glibmm/signalproxy_connectionnode.cc | |
parent | 70d82352b34ec18634c99c61a174655b178bcd08 (diff) | |
download | glibmm-e980da407d311e82a1286b1b480ba15d658f4826.tar.gz |
Strip trailing whitespace.
* gio/giomm/*.[h|cc]:
* gio/src/*.[hg|ccg]:
* glib/glibmm/*.[h|cc]:
* glib/src/*.[hg|ccg]: Strip trailing whitespace. Bug #681072.
Diffstat (limited to 'glib/glibmm/signalproxy_connectionnode.cc')
-rw-r--r-- | glib/glibmm/signalproxy_connectionnode.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/glib/glibmm/signalproxy_connectionnode.cc b/glib/glibmm/signalproxy_connectionnode.cc index c0f64c9c..cc6f7079 100644 --- a/glib/glibmm/signalproxy_connectionnode.cc +++ b/glib/glibmm/signalproxy_connectionnode.cc @@ -52,7 +52,7 @@ void* SignalProxyConnectionNode::notify(void* data) { GObject* o = conn->object_; conn->object_ = 0; - + if(g_signal_handler_is_connected(o, conn->connection_id_)) //We check first, because during destruction, GTK+ sometimes seems to disconnect them for us, before we expect it to. See bug #87912 { // Disconnecting triggers execution of destroy_notify_handler(), eiter immediately or later: @@ -60,11 +60,11 @@ void* SignalProxyConnectionNode::notify(void* data) // In that case, destroy_notify_handler() will be called after this whole function has returned. // Anyway. destroy_notify_handler() will always be called, so we leave that to do the deletion. - + //Forget the connection: gulong connection_id = conn->connection_id_; conn->connection_id_ = 0; - + g_signal_handler_disconnect(o, connection_id); } } @@ -77,7 +77,7 @@ void SignalProxyConnectionNode::destroy_notify_handler(gpointer data, GClosure*) { //glib calls this when it has finished with a glib signal connection, //either when the emitting object dies, or when the connection has been disconnected. - + // notification from gtk+. SignalProxyConnectionNode* conn = static_cast<SignalProxyConnectionNode*>(data); |