Branch: refs/heads/master Author: Alexander Petukhov devel@apetukhov.ru Committer: Alexander Petukhov devel@apetukhov.ru Date: Thu, 26 Jan 2012 08:46:06 Commit: ebd8010a25990ad7ac11ea220f502867d9e2c698 https://github.com/geany/geany-plugins/commit/ebd8010a25990ad7ac11ea220f5028...
Log Message: ----------- fixing GLib criticals when disconnecting signals
Modified Paths: -------------- debugger/src/dpaned.c
Modified: debugger/src/dpaned.c 4 files changed, 2 insertions(+), 2 deletions(-) =================================================================== @@ -46,8 +46,8 @@ #define CONNECT_PAGE_SIGNALS(X) \ switch_left_handler_id = g_signal_connect(G_OBJECT(debug_notebook_left), "switch-page", G_CALLBACK(on_change_current_page), NULL); \ switch_right_handler_id = g_signal_connect(G_OBJECT(debug_notebook_right), "switch-page", G_CALLBACK(on_change_current_page), NULL); \ - g_signal_connect(G_OBJECT(debug_notebook_left), "page-reordered", G_CALLBACK(on_page_reordered), NULL); \ - g_signal_connect(G_OBJECT(debug_notebook_right), "page-reordered", G_CALLBACK(on_page_reordered), NULL); \ + reorder_left_handler_id = g_signal_connect(G_OBJECT(debug_notebook_left), "page-reordered", G_CALLBACK(on_page_reordered), NULL); \ + reorder_right_handler_id = g_signal_connect(G_OBJECT(debug_notebook_right), "page-reordered", G_CALLBACK(on_page_reordered), NULL); \ add_left_handler_id = g_signal_connect(G_OBJECT(debug_notebook_left), "page-added", G_CALLBACK(on_page_added), NULL); \ add_right_handler_id = g_signal_connect(G_OBJECT(debug_notebook_right), "page-added", G_CALLBACK(on_page_added), NULL); \ remove_left_handler_id = g_signal_connect(G_OBJECT(debug_notebook_left), "page-removed", G_CALLBACK(on_page_removed), NULL); \
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: TBD).