Commit f1c2d71c authored by Michael Catanzaro's avatar Michael Catanzaro Committed by Ray Strode

lib: Use G_PARAM_STATIC_STRINGS

No need to dup and free a bunch of string literals.

https://bugs.freedesktop.org/show_bug.cgi?id=93654
parent 36b424b4
......@@ -2719,27 +2719,27 @@ act_user_manager_class_init (ActUserManagerClass *klass)
"Is loaded",
"Determines whether or not the manager object is loaded and ready to read from.",
FALSE,
G_PARAM_READABLE));
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (object_class,
PROP_HAS_MULTIPLE_USERS,
g_param_spec_boolean ("has-multiple-users",
"Has multiple users",
"Whether more than one normal user is present",
FALSE,
G_PARAM_READABLE));
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (object_class,
PROP_INCLUDE_USERNAMES_LIST,
g_param_spec_pointer ("include-usernames-list",
"Include usernames list",
"Usernames who are specifically included",
G_PARAM_READWRITE));
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (object_class,
PROP_EXCLUDE_USERNAMES_LIST,
g_param_spec_pointer ("exclude-usernames-list",
"Exclude usernames list",
"Usernames who are specifically excluded",
G_PARAM_READWRITE));
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
/**
* ActUserManager::user-added:
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment