diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2022-07-25 13:30:27 +0200 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2022-07-25 13:31:32 +0200 |
commit | 9003f36ba25426aa28db505384cc50b426e6505b (patch) | |
tree | e79b53e27d2f507fbc4b0b99842d7323e46e4a06 /src | |
parent | 6df51485d392908d1968b1e1d53e4cb7136ad04f (diff) | |
download | logdiag-9003f36ba25426aa28db505384cc50b426e6505b.tar.gz logdiag-9003f36ba25426aa28db505384cc50b426e6505b.tar.xz logdiag-9003f36ba25426aa28db505384cc50b426e6505b.zip |
Tidy up GSettings
Diffstat (limited to 'src')
-rw-r--r-- | src/ld-window-main.c | 2 | ||||
-rw-r--r-- | src/logdiag.c | 8 |
2 files changed, 5 insertions, 5 deletions
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) |