diff options
author | mbkma <[email protected]> | 2020-11-18 21:22:22 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2020-11-22 14:12:13 +0100 |
commit | acca2683cf45a0462b32e9a5f668188b79fc0377 (patch) | |
tree | 2e1dd2c3845cad45fa7f1c25acb15d6844aa9db9 | |
parent | 1b879ef459cce5d6012c9f535b2ce2f056b49989 (diff) | |
download | pluma-acca2683cf45a0462b32e9a5f668188b79fc0377.tar.bz2 pluma-acca2683cf45a0462b32e9a5f668188b79fc0377.tar.xz |
Fix line numbers menu: use g_settings_bind correctly
-rw-r--r-- | pluma/pluma-view.c | 4 |
1 files 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); |