diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-11-01 11:27:22 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-11-01 21:23:35 -0500 |
commit | 3cf26b471ba5045ee8e0347cbbf2eff184de4a43 (patch) | |
tree | c9785f73d0062c78111da3d7ef92377e9880d7e3 | |
parent | c6302856925a844ce7d24319b53a3fb9e82c957e (diff) | |
download | gtk+-3cf26b471ba5045ee8e0347cbbf2eff184de4a43.tar.gz |
Fix the definition of GtkWidget:can-target
We are setting the value to TRUE initially, but
the property had a declared default of FALSE.
This is messing up the simplification of .ui files
with gtk4-builder-tool, since it thinks it can
omit can-target properties when it really can't.
-rw-r--r-- | gtk/gtkwidget.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c index f9bc34a969..31c0063022 100644 --- a/gtk/gtkwidget.c +++ b/gtk/gtkwidget.c @@ -1013,7 +1013,7 @@ gtk_widget_class_init (GtkWidgetClass *klass) g_param_spec_boolean ("can-target", P_("Can target"), P_("Whether the widget can receive pointer events"), - FALSE, + TRUE, GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY); /** |