aboutsummaryrefslogtreecommitdiff
path: root/src/idocalendarmenuitem.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-09-16 13:04:30 -0500
committerTed Gould <ted@gould.cx>2011-09-16 13:04:30 -0500
commit3abfadde5be590360900ce3ca92195fab7496ec5 (patch)
tree25fd9bb76b36efc1c9087114b28b0b21627a389a /src/idocalendarmenuitem.c
parent6e4d5b145327f2692ab20d07e0c0e63628b3c1a0 (diff)
downloadayatana-ido-3abfadde5be590360900ce3ca92195fab7496ec5.tar.gz
ayatana-ido-3abfadde5be590360900ce3ca92195fab7496ec5.tar.bz2
ayatana-ido-3abfadde5be590360900ce3ca92195fab7496ec5.zip
Freeing the new event
Diffstat (limited to 'src/idocalendarmenuitem.c')
-rw-r--r--src/idocalendarmenuitem.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/idocalendarmenuitem.c b/src/idocalendarmenuitem.c
index bb4ccca..40d96a1 100644
--- a/src/idocalendarmenuitem.c
+++ b/src/idocalendarmenuitem.c
@@ -233,6 +233,9 @@ ido_calendar_menu_item_button_press (GtkWidget *widget,
GTK_WIDGET_GET_CLASS(calendar)->button_press_event(GTK_WIDGET(calendar), (GdkEventButton*)newevent);
}
}
+
+ ((GdkEventButton *)newevent)->window = event->window;
+ gdk_event_free(newevent);
#endif
return TRUE;