aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2008-12-15 19:52:50 +0800
committerMilan Crha <mcrha@src.gnome.org>2008-12-15 19:52:50 +0800
commita7c7fdc59813ca956e8eef75f54b1b582e47e19a (patch)
tree5b9453613e77ea49b1df3510688f65f07ba85e57 /calendar/gui
parent7365be40fe5adb231140711487e798438ff8777a (diff)
downloadgsoc2013-evolution-a7c7fdc59813ca956e8eef75f54b1b582e47e19a.tar.gz
gsoc2013-evolution-a7c7fdc59813ca956e8eef75f54b1b582e47e19a.tar.zst
gsoc2013-evolution-a7c7fdc59813ca956e8eef75f54b1b582e47e19a.zip
** Part of fix for bug #564229
2008-12-15 Milan Crha <mcrha@redhat.com> ** Part of fix for bug #564229 * gui/dialogs/alarm-dialog.c: (populate_widgets_from_alarm): Cast to proper object. * gui/alarm-notify/alarm-queue.c: (free_tray_icon_data): Do not leak. svn path=/trunk/; revision=36893
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/alarm-notify/alarm-queue.c2
-rw-r--r--calendar/gui/dialogs/alarm-dialog.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/calendar/gui/alarm-notify/alarm-queue.c b/calendar/gui/alarm-notify/alarm-queue.c
index 22b7766b4d..5fba590646 100644
--- a/calendar/gui/alarm-notify/alarm-queue.c
+++ b/calendar/gui/alarm-notify/alarm-queue.c
@@ -989,7 +989,7 @@ free_tray_icon_data (TrayIconData *tray_data)
}
if (tray_data->location){
- g_free (tray_data->description);
+ g_free (tray_data->location);
tray_data->location = NULL;
}
diff --git a/calendar/gui/dialogs/alarm-dialog.c b/calendar/gui/dialogs/alarm-dialog.c
index 7e429a28b2..bf78f70011 100644
--- a/calendar/gui/dialogs/alarm-dialog.c
+++ b/calendar/gui/dialogs/alarm-dialog.c
@@ -642,7 +642,7 @@ populate_widgets_from_alarm (Dialog *dialog)
/* Alarm options */
e_dialog_option_menu_set (dialog->action, *action, action_map);
- action_selection_done_cb (GTK_MENU_SHELL (dialog->action), dialog);
+ action_selection_done_cb (GTK_MENU_SHELL (gtk_option_menu_get_menu (GTK_OPTION_MENU (dialog->action))), dialog);
switch (*action) {
case E_CAL_COMPONENT_ALARM_AUDIO: