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/gtkdropcontrollermotion.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/gtkdropcontrollermotion.c')
-rw-r--r-- | gtk/gtkdropcontrollermotion.c | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/gtk/gtkdropcontrollermotion.c b/gtk/gtkdropcontrollermotion.c index 75c816cb74..86f419b589 100644 --- a/gtk/gtkdropcontrollermotion.c +++ b/gtk/gtkdropcontrollermotion.c @@ -220,9 +220,7 @@ gtk_drop_controller_motion_class_init (GtkDropControllerMotionClass *klass) * [signal@Gtk.DropControllerMotion::leave] is emitted. */ props[PROP_CONTAINS_POINTER] = - g_param_spec_boolean ("contains-pointer", - P_("Contains Pointer"), - P_("Whether the pointer is in the controllers widget or a descendant"), + g_param_spec_boolean ("contains-pointer", NULL, NULL, FALSE, G_PARAM_READABLE); @@ -242,9 +240,7 @@ gtk_drop_controller_motion_class_init (GtkDropControllerMotionClass *klass) * [signal@Gtk.DropControllerMotion::leave] is emitted. */ props[PROP_DROP] = - g_param_spec_object ("drop", - P_("Drop"), - P_("The ongoing drop operation"), + g_param_spec_object ("drop", NULL, NULL, GDK_TYPE_DROP, G_PARAM_READABLE); @@ -261,9 +257,7 @@ gtk_drop_controller_motion_class_init (GtkDropControllerMotionClass *klass) * [signal@Gtk.DropControllerMotion::leave] is emitted. */ props[PROP_IS_POINTER] = - g_param_spec_boolean ("is-pointer", - P_("Is Pointer"), - P_("Whether the pointer is in the controllers widget"), + g_param_spec_boolean ("is-pointer", NULL, NULL, FALSE, G_PARAM_READABLE); |