aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChenthill Palanisamy <pchen@src.gnome.org>2006-02-09 14:30:37 +0800
committerChenthill Palanisamy <pchen@src.gnome.org>2006-02-09 14:30:37 +0800
commit9b5411672788c7eeb2201d0f3fd3bec39c2bb40e (patch)
tree3be7611091ed7454f3d0ec7dab3976c2834c7a55
parente0378bff334b5d828af230ef8a939fbe9f81d98d (diff)
downloadgsoc2013-evolution-9b5411672788c7eeb2201d0f3fd3bec39c2bb40e.tar
gsoc2013-evolution-9b5411672788c7eeb2201d0f3fd3bec39c2bb40e.tar.gz
gsoc2013-evolution-9b5411672788c7eeb2201d0f3fd3bec39c2bb40e.tar.bz2
gsoc2013-evolution-9b5411672788c7eeb2201d0f3fd3bec39c2bb40e.tar.lz
gsoc2013-evolution-9b5411672788c7eeb2201d0f3fd3bec39c2bb40e.tar.xz
gsoc2013-evolution-9b5411672788c7eeb2201d0f3fd3bec39c2bb40e.tar.zst
gsoc2013-evolution-9b5411672788c7eeb2201d0f3fd3bec39c2bb40e.zip
fixes #329768
svn path=/trunk/; revision=31458
-rw-r--r--calendar/ChangeLog6
-rw-r--r--calendar/gui/dialogs/comp-editor.c6
2 files changed, 8 insertions, 4 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index d00acca64b..9251309628 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,9 @@
+2006-01-09 Rajeev ramanathan <rajeevramanathan_2004@yahoo.co.in>
+
+ Fixes #329768
+ * gui/dialogs/comp-editor.c: (key_press_event): Corrected problem with
+ casting EAttachmentBar.
+
2006-02-09 Chenthill Palanisamy <pchenthill@novell.com>
Fixes #330465
diff --git a/calendar/gui/dialogs/comp-editor.c b/calendar/gui/dialogs/comp-editor.c
index d0bcbd4b1d..96055ab084 100644
--- a/calendar/gui/dialogs/comp-editor.c
+++ b/calendar/gui/dialogs/comp-editor.c
@@ -1190,10 +1190,8 @@ button_press_event (GtkWidget *widget, GdkEventButton *event)
static gint
key_press_event(GtkWidget *widget, GdkEventKey *event)
{
- CompEditor *Editor = COMP_EDITOR (widget);
- EAttachmentBar *bar = E_ATTACHMENT_BAR (Editor->priv->attachment_bar);
-
- if (event->keyval == GDK_Delete) {
+ EAttachmentBar *bar = (EAttachmentBar *)widget;
+ if (event->keyval == GDK_Delete) {
e_attachment_bar_remove_selected (bar);
return TRUE;
}