diff options
author | Chenthill Palanisamy <pchen@src.gnome.org> | 2006-07-31 16:53:46 +0800 |
---|---|---|
committer | Chenthill Palanisamy <pchen@src.gnome.org> | 2006-07-31 16:53:46 +0800 |
commit | ab12a84ac4b241aed23eafdccb8cc6a99053b562 (patch) | |
tree | aac72d8e310b5488a3323bb82ef4b894bfbd6bfc /calendar/gui/dialogs | |
parent | cb97e0fdff353a8a68cc7ec252baa3f2bcb2d255 (diff) | |
download | gsoc2013-evolution-ab12a84ac4b241aed23eafdccb8cc6a99053b562.tar gsoc2013-evolution-ab12a84ac4b241aed23eafdccb8cc6a99053b562.tar.gz gsoc2013-evolution-ab12a84ac4b241aed23eafdccb8cc6a99053b562.tar.bz2 gsoc2013-evolution-ab12a84ac4b241aed23eafdccb8cc6a99053b562.tar.lz gsoc2013-evolution-ab12a84ac4b241aed23eafdccb8cc6a99053b562.tar.xz gsoc2013-evolution-ab12a84ac4b241aed23eafdccb8cc6a99053b562.tar.zst gsoc2013-evolution-ab12a84ac4b241aed23eafdccb8cc6a99053b562.zip |
Fixes #323499.
svn path=/trunk/; revision=32441
Diffstat (limited to 'calendar/gui/dialogs')
-rw-r--r-- | calendar/gui/dialogs/recurrence-page.c | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/calendar/gui/dialogs/recurrence-page.c b/calendar/gui/dialogs/recurrence-page.c index ed070f057b..b4eafd468c 100644 --- a/calendar/gui/dialogs/recurrence-page.c +++ b/calendar/gui/dialogs/recurrence-page.c @@ -2092,7 +2092,7 @@ interval_value_changed_cb (GtkAdjustment *adj, gpointer data) * change the contents of the recurrence special widget. */ static void -interval_selection_done_cb (GtkMenuShell *menu_shell, gpointer data) +interval_selection_done_cb (GtkOptionMenu *menu, gpointer data) { RecurrencePage *rpage; @@ -2107,7 +2107,7 @@ interval_selection_done_cb (GtkMenuShell *menu_shell, gpointer data) * change the contents of the ending special widget. */ static void -ending_selection_done_cb (GtkMenuShell *menu_shell, gpointer data) +ending_selection_done_cb (GtkOptionMenu *menu, gpointer data) { RecurrencePage *rpage; @@ -2310,7 +2310,6 @@ init_widgets (RecurrencePage *rpage) RecurrencePagePrivate *priv; ECalendar *ecal; GtkAdjustment *adj; - GtkWidget *menu; GtkTreeViewColumn *column; GtkCellRenderer *cell_renderer; @@ -2345,16 +2344,14 @@ init_widgets (RecurrencePage *rpage) rpage); /* Recurrence units */ - - menu = gtk_option_menu_get_menu (GTK_OPTION_MENU (priv->interval_unit)); - g_signal_connect((menu), "selection_done", + + g_signal_connect(GTK_OPTION_MENU (priv->interval_unit), "changed", G_CALLBACK (interval_selection_done_cb), rpage); /* Recurrence ending */ - - menu = gtk_option_menu_get_menu (GTK_OPTION_MENU (priv->ending_menu)); - g_signal_connect((menu), "selection_done", + + g_signal_connect(GTK_OPTION_MENU (priv->ending_menu), "changed", G_CALLBACK (ending_selection_done_cb), rpage); /* Exception buttons */ |