From acca2683cf45a0462b32e9a5f668188b79fc0377 Mon Sep 17 00:00:00 2001 From: mbkma Date: Wed, 18 Nov 2020 21:22:22 +0100 Subject: Fix line numbers menu: use g_settings_bind correctly --- pluma/pluma-view.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pluma/pluma-view.c b/pluma/pluma-view.c index 9b94da3f..dfeb9154 100644 --- a/pluma/pluma-view.c +++ b/pluma/pluma-view.c @@ -2247,9 +2247,9 @@ create_line_numbers_menu (GtkWidget *view) gtk_source_view_get_show_line_numbers (GTK_SOURCE_VIEW (view))); g_settings_bind (PLUMA_VIEW (view)->priv->editor_settings, - "active", - item, PLUMA_SETTINGS_DISPLAY_LINE_NUMBERS, + item, + "active", G_SETTINGS_BIND_SET); gtk_menu_shell_append (GTK_MENU_SHELL (menu), item); -- cgit v1.2.1