evolution r34811 - in trunk/calendar: . gui/dialogs
- From: msuman svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution r34811 - in trunk/calendar: . gui/dialogs
- Date: Mon, 14 Jan 2008 08:34:15 +0000 (GMT)
Author: msuman
Date: Mon Jan 14 08:34:15 2008
New Revision: 34811
URL: http://svn.gnome.org/viewvc/evolution?rev=34811&view=rev
Log:
Fix for bug #339620 (Disconnect signal handlers in the destroy_handler of recurrence-page dialog)
Modified:
trunk/calendar/ChangeLog
trunk/calendar/gui/dialogs/recurrence-page.c
Modified: trunk/calendar/gui/dialogs/recurrence-page.c
==============================================================================
--- trunk/calendar/gui/dialogs/recurrence-page.c (original)
+++ trunk/calendar/gui/dialogs/recurrence-page.c Mon Jan 14 08:34:15 2008
@@ -207,6 +207,8 @@
static gboolean recurrence_page_fill_component (CompEditorPage *page, ECalComponent *comp);
static void recurrence_page_set_dates (CompEditorPage *page, CompEditorPageDates *dates);
static void preview_date_range_changed_cb (ECalendarItem *item, gpointer data);
+static void interval_selection_done_cb (GtkOptionMenu *menu, gpointer data);
+static void ending_selection_done_cb (GtkOptionMenu *menu, gpointer data);
static void field_changed (RecurrencePage *apage);
static void make_ending_count_special (RecurrencePage *rpage);
@@ -285,6 +287,11 @@
g_signal_handlers_disconnect_matched (E_CALENDAR (priv->preview_calendar)->calitem, G_SIGNAL_MATCH_FUNC,
0, 0, NULL, preview_date_range_changed_cb, NULL);
+ g_signal_handlers_disconnect_by_func (GTK_OPTION_MENU (priv->interval_unit),
+ G_CALLBACK (interval_selection_done_cb), rpage);
+ g_signal_handlers_disconnect_by_func (GTK_OPTION_MENU (priv->ending_menu),
+ G_CALLBACK (ending_selection_done_cb), rpage);
+
if (priv->main)
g_object_unref (priv->main);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]