aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2012-11-30 03:19:59 +0800
committerMatthew Barnes <mbarnes@redhat.com>2012-11-30 03:20:47 +0800
commit3ad5a5617a93749934db572b53f8e67f0b49dff5 (patch)
tree724dd7a34bbc5b59cb3e3de029d9e2cca7026535 /calendar
parentd2fb5ee1a86539e49f02c1fe9ea10cf55b0b351a (diff)
downloadgsoc2013-evolution-3ad5a5617a93749934db572b53f8e67f0b49dff5.tar
gsoc2013-evolution-3ad5a5617a93749934db572b53f8e67f0b49dff5.tar.gz
gsoc2013-evolution-3ad5a5617a93749934db572b53f8e67f0b49dff5.tar.bz2
gsoc2013-evolution-3ad5a5617a93749934db572b53f8e67f0b49dff5.tar.lz
gsoc2013-evolution-3ad5a5617a93749934db572b53f8e67f0b49dff5.tar.xz
gsoc2013-evolution-3ad5a5617a93749934db572b53f8e67f0b49dff5.tar.zst
gsoc2013-evolution-3ad5a5617a93749934db572b53f8e67f0b49dff5.zip
AlarmQueue: Forgot to add this to the previous commit.
Diffstat (limited to 'calendar')
-rw-r--r--calendar/alarm-notify/alarm-queue.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/calendar/alarm-notify/alarm-queue.c b/calendar/alarm-notify/alarm-queue.c
index 360a95edf2..e152b59056 100644
--- a/calendar/alarm-notify/alarm-queue.c
+++ b/calendar/alarm-notify/alarm-queue.c
@@ -1492,7 +1492,7 @@ tray_icon_clicked_cb (GtkWidget *widget,
}
return TRUE;
- } else if (event->button == 3) {
+ } else if (event_button == 3) {
debug (("right click"));
remove_tray_icon ();
@@ -1506,11 +1506,11 @@ tray_icon_clicked_cb (GtkWidget *widget,
static void
icon_activated (GtkStatusIcon *icon)
{
- GdkEventButton event;
+ GdkEvent event;
event.type = GDK_BUTTON_PRESS;
- event.button = 1;
- event.time = gtk_get_current_event_time ();
+ event.button.button = 1;
+ event.button.time = gtk_get_current_event_time ();
tray_icon_clicked_cb (NULL, &event, NULL);
}
@@ -1522,11 +1522,11 @@ popup_menu (GtkStatusIcon *icon,
{
if (button == 3) {
/* right click */
- GdkEventButton event;
+ GdkEvent event;
event.type = GDK_BUTTON_PRESS;
- event.button = 3;
- event.time = gtk_get_current_event_time ();
+ event.button.button = 3;
+ event.button.time = gtk_get_current_event_time ();
tray_icon_clicked_cb (NULL, &event, NULL);
}