summaryrefslogtreecommitdiff
path: root/stickynotes
diff options
context:
space:
mode:
Diffstat (limited to 'stickynotes')
-rw-r--r--stickynotes/stickynotes_callbacks.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/stickynotes/stickynotes_callbacks.c b/stickynotes/stickynotes_callbacks.c
index bd6a4577..45a01ad5 100644
--- a/stickynotes/stickynotes_callbacks.c
+++ b/stickynotes/stickynotes_callbacks.c
@@ -95,10 +95,8 @@ stickynote_show_popup_menu (GtkWidget *widget, GdkEventButton *event, GtkWidget
{
if (event->type == GDK_BUTTON_PRESS && event->button == 3)
{
- gtk_menu_popup (GTK_MENU (popup_menu),
- NULL, NULL,
- NULL, NULL,
- event->button, event->time);
+ gtk_menu_popup_at_pointer (GTK_MENU (popup_menu),
+ (const GdkEvent*) event);
}
return FALSE;