diff options
author | Ted Gould <ted@gould.cx> | 2011-09-16 13:04:30 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2011-09-16 13:04:30 -0500 |
commit | 3abfadde5be590360900ce3ca92195fab7496ec5 (patch) | |
tree | 25fd9bb76b36efc1c9087114b28b0b21627a389a /src/idocalendarmenuitem.c | |
parent | 6e4d5b145327f2692ab20d07e0c0e63628b3c1a0 (diff) | |
download | ayatana-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.c | 3 |
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; |