diff options
author | Sophie Herold <sophie@hemio.de> | 2022-05-11 14:19:39 +0200 |
---|---|---|
committer | Sophie Herold <sophie@hemio.de> | 2022-05-11 18:16:29 +0200 |
commit | a546ae32d773a26f2f329f237e94bef74db6cce1 (patch) | |
tree | 2ae64ca0eee53ad0c73ec845ed9734c1df91b95d /gtk/gtkplacesview.c | |
parent | 9536eb654b15b2a906d4b63bbb9bb56a81e0a146 (diff) | |
download | gtk+-a546ae32d773a26f2f329f237e94bef74db6cce1.tar.gz |
Remove all nicks and blurbs from param specs
Those property features don't seem to be in use anywhere.
They are redundant since the docs cover the same information
and more. They also created unnecessary translation work.
Closes #4904
Diffstat (limited to 'gtk/gtkplacesview.c')
-rw-r--r-- | gtk/gtkplacesview.c | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/gtk/gtkplacesview.c b/gtk/gtkplacesview.c index cb13276513..d62f8f2a40 100644 --- a/gtk/gtkplacesview.c +++ b/gtk/gtkplacesview.c @@ -2244,23 +2244,17 @@ gtk_places_view_class_init (GtkPlacesViewClass *klass) G_TYPE_STRING); properties[PROP_LOADING] = - g_param_spec_boolean ("loading", - P_("Loading"), - P_("Whether the view is loading locations"), + g_param_spec_boolean ("loading", NULL, NULL, FALSE, GTK_PARAM_READABLE); properties[PROP_FETCHING_NETWORKS] = - g_param_spec_boolean ("fetching-networks", - P_("Fetching networks"), - P_("Whether the view is fetching networks"), + g_param_spec_boolean ("fetching-networks", NULL, NULL, FALSE, GTK_PARAM_READABLE); properties[PROP_OPEN_FLAGS] = - g_param_spec_flags ("open-flags", - P_("Open Flags"), - P_("Modes in which the calling application can open locations selected in the sidebar"), + g_param_spec_flags ("open-flags", NULL, NULL, GTK_TYPE_PLACES_OPEN_FLAGS, GTK_PLACES_OPEN_NORMAL, GTK_PARAM_READWRITE); |