[Geany-Devel] plugin_signal_connect() id check

Dimitar Zhekov dimitar.zhekov at xxxxx
Wed Feb 27 19:12:30 UTC 2013


Hi,

Currently, plugin_signal_connect() does not check if a signal is
successfully connected before adding it to the list of signals to be
disconnected when the plugin is unloaded. How about making such a
check? Attempting to disconnect signal id 0 only produces an assertion
message, and we already have a more informative warning displayed from
g_signal_connect().

-- 
E-gards: Jimmy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Check-signal-id-in-plugin_signal_connect-before-addi.patch
Type: text/x-diff
Size: 1194 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/devel/attachments/20130227/18e593e4/attachment.patch>


More information about the Devel mailing list