From 9003f36ba25426aa28db505384cc50b426e6505b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Eric=20Janouch?= Date: Mon, 25 Jul 2022 13:30:27 +0200 Subject: Tidy up GSettings --- src/ld-window-main.c | 2 +- src/logdiag.c | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/ld-window-main.c b/src/ld-window-main.c index 7acd319..3d78993 100644 --- a/src/ld-window-main.c +++ b/src/ld-window-main.c @@ -389,7 +389,7 @@ ld_window_main_init (LdWindowMain *self) gtk_widget_show_all (GTK_WIDGET (self)); /* Set up GSettings. */ - priv->settings = g_settings_new ("org." PROJECT_NAME); + priv->settings = g_settings_new (PROJECT_ID); g_settings_bind (priv->settings, "show-main-toolbar", gtk_action_group_get_action (priv->action_group, diff --git a/src/logdiag.c b/src/logdiag.c index f5a891f..4f25aea 100644 --- a/src/logdiag.c +++ b/src/logdiag.c @@ -127,16 +127,16 @@ main (int argc, char *argv[]) textdomain (GETTEXT_DOMAIN); #ifdef PROJECT_GSETTINGS_DIR - /* This is enabled when the build is set up for developing, so that the - * application can find its schema. It might also find use when - * installing the application into a location that's missing from + /* This is enabled when the build is set up for development, + * so that the application can find its schema. It might also find use + * when installing the application into a location that's missing from * g_get_system_data_dirs(), for example /usr/local or ~/.local. */ g_setenv ("GSETTINGS_SCHEMA_DIR", PROJECT_GSETTINGS_DIR, 0); #endif /* PROJECT_GSETTINGS_DIR */ #ifdef _WIN32 - /* Don't be unneccessarily limited by the system ANSI codepage. */ + /* Don't be unneccessarily limited by the system's ANSI codepage. */ /* g_win32_get_command_line() should replace this code for GLib >= 2.40. */ argv_overriden = get_utf8_args (&argc, &argv); if (argv_overriden) -- cgit v1.2.3