summaryrefslogtreecommitdiff
path: root/stickynotes/stickynotes_callbacks.c
diff options
context:
space:
mode:
authorColomban Wendling <[email protected]>2021-10-07 18:42:36 +0200
committerraveit65 <[email protected]>2021-11-09 22:39:33 +0100
commit63b52c7b872258270f7f75d52dcf4edff83cefc3 (patch)
treeea57a2f7d6c4b429cedbbd7f94bd94a05744db48 /stickynotes/stickynotes_callbacks.c
parente4f0153c22cf9639953ce28c4e6e7cda1ef064d9 (diff)
downloadmate-applets-63b52c7b872258270f7f75d52dcf4edff83cefc3.tar.bz2
mate-applets-63b52c7b872258270f7f75d52dcf4edff83cefc3.tar.xz
stickynotes: Restore note popup menu that got lost in 37a85e35448f8
Diffstat (limited to 'stickynotes/stickynotes_callbacks.c')
-rw-r--r--stickynotes/stickynotes_callbacks.c6
1 files changed, 3 insertions, 3 deletions
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 */