From 0d17002a94d49285910074333a5c261bbf77cd63 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Fri, 15 Dec 2000 23:30:46 +0000 Subject: Update this for the new signal handler prototype. Fixes the crash on * subscribe-dialog.c (folder_toggle_cb): Update this for the new signal handler prototype. Fixes the crash on double-click. svn path=/trunk/; revision=7059 --- mail/ChangeLog | 5 +++++ mail/subscribe-dialog.c | 8 ++------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/mail/ChangeLog b/mail/ChangeLog index 1e8079c66d..544c04071e 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,8 @@ +2000-12-15 Dan Winship + + * subscribe-dialog.c (folder_toggle_cb): Update this for the new + signal handler prototype. Fixes the crash on double-click. + 2000-12-15 Jeffrey Stedfast * mail-format.c (handle_multipart_signed): New callback to handle diff --git a/mail/subscribe-dialog.c b/mail/subscribe-dialog.c index 3d85e265bd..0d40eff6de 100644 --- a/mail/subscribe-dialog.c +++ b/mail/subscribe-dialog.c @@ -780,9 +780,7 @@ build_tree (SubscribeDialog *sc, CamelStore *store) } static void -storage_selected_cb (ETable *table, - int row, - gpointer data) +storage_selected_cb (ETable *table, int row, gpointer data) { SubscribeDialog *sc = SUBSCRIBE_DIALOG (data); CamelStore *store = (CamelStore*)g_list_nth_data (sc->store_list, row); @@ -793,9 +791,7 @@ storage_selected_cb (ETable *table, static void -folder_toggle_cb (ETable *table, - int row, - gpointer data) +folder_toggle_cb (ETable *table, int row, int col, GdkEvent *event, gpointer data) { SubscribeDialog *sc = SUBSCRIBE_DIALOG (data); ETreePath *node = e_tree_model_node_at_row (sc->folder_model, row); -- cgit