diff options
author | Niels De Graef <nielsdegraef@gmail.com> | 2018-12-25 15:20:41 +0100 |
---|---|---|
committer | Ray Strode <halfline@gmail.com> | 2019-01-07 19:12:03 +0000 |
commit | 525333a7971cd693a44ac1c4ee74938b26da1e4b (patch) | |
tree | 8027bea293e106bfa049bf6265958f7ac023e2f7 /common | |
parent | c98ea6a4dc807aaf261eab6025ba3c3e5662d51c (diff) | |
download | gdm-525333a7971cd693a44ac1c4ee74938b26da1e4b.tar.gz |
Use G_PARAM_STATIC_STRIGS on properties
This prevents strings from being unnecessarily copied.
Diffstat (limited to 'common')
-rw-r--r-- | common/gdm-settings-desktop-backend.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/gdm-settings-desktop-backend.c b/common/gdm-settings-desktop-backend.c index 5afe8fbc..e899fe5c 100644 --- a/common/gdm-settings-desktop-backend.c +++ b/common/gdm-settings-desktop-backend.c @@ -397,7 +397,7 @@ gdm_settings_desktop_backend_class_init (GdmSettingsDesktopBackendClass *klass) "File Name", "The name of the configuration file", NULL, - G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); + G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS)); } static void |