From d3527344f928d0352e6ec92e6e6d954374664e71 Mon Sep 17 00:00:00 2001 From: Colomban Wendling Date: Thu, 7 Oct 2021 18:42:36 +0200 Subject: stickynotes: Restore note popup menu that got lost in 37a85e35448f8 --- stickynotes/stickynotes_callbacks.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'stickynotes/stickynotes_callbacks.c') diff --git a/stickynotes/stickynotes_callbacks.c b/stickynotes/stickynotes_callbacks.c index b80f34e4..3e849131 100644 --- a/stickynotes/stickynotes_callbacks.c +++ b/stickynotes/stickynotes_callbacks.c @@ -163,11 +163,11 @@ popup_destroy_cb (GtkWidget *widget, /* Popup Menu Callback : Lock/Unlock selected sticky note */ void -popup_toggle_lock_cb (GtkToggleAction *action, - StickyNote *note) +popup_toggle_lock_cb (GtkCheckMenuItem *item, + StickyNote *note) { stickynote_set_locked (note, - gtk_toggle_action_get_active (action)); + gtk_check_menu_item_get_active (item)); } /* Popup Menu Callback : Change sticky note properties */ -- cgit v1.2.1