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-10-26 16:00:45 +0200
commitd3527344f928d0352e6ec92e6e6d954374664e71 (patch)
treeeeaf2f2aeeb2d4e21713ded6f6488e554022b8a5 /stickynotes/stickynotes_callbacks.c
parent130e2e12a7d5e54165b25effee5fadb1693a096a (diff)
downloadmate-applets-d3527344f928d0352e6ec92e6e6d954374664e71.tar.bz2
mate-applets-d3527344f928d0352e6ec92e6e6d954374664e71.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 */