summaryrefslogtreecommitdiff
path: root/stickynotes
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2018-07-06 14:10:38 +0200
committerraveit65 <[email protected]>2018-07-08 11:54:53 +0200
commitd3bf8fd44c54816e66216517dfdf6b8496536677 (patch)
tree095493453c224e118bd16e8b3e1ff38e72ccc1f0 /stickynotes
parentdc720b32165c5053f7d40a352ca79be2ecba27da (diff)
downloadmate-applets-d3bf8fd44c54816e66216517dfdf6b8496536677.tar.bz2
mate-applets-d3bf8fd44c54816e66216517dfdf6b8496536677.tar.xz
sticknotes: replace deprecated gtk_menu_popup
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;