[evolution] AlarmQueue: Forgot to add this to the previous commit.
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] AlarmQueue: Forgot to add this to the previous commit.
- Date: Thu, 29 Nov 2012 19:21:09 +0000 (UTC)
commit 3ad5a5617a93749934db572b53f8e67f0b49dff5
Author: Matthew Barnes <mbarnes redhat com>
Date: Thu Nov 29 14:19:59 2012 -0500
AlarmQueue: Forgot to add this to the previous commit.
calendar/alarm-notify/alarm-queue.c | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/calendar/alarm-notify/alarm-queue.c b/calendar/alarm-notify/alarm-queue.c
index 360a95e..e152b59 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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]