popover: Use GTK_POS_BOTTOM as default position

This has always made a lot more sense.
This commit is contained in:
Timm Bäder 2019-08-01 16:03:57 +02:00
parent 76e3284ca1
commit 109df77d87

View File

@ -552,8 +552,8 @@ gtk_popover_init (GtkPopover *popover)
GtkEventController *controller;
GtkStyleContext *context;
priv->position = GTK_POS_TOP;
priv->final_position = GTK_POS_TOP;
priv->position = GTK_POS_BOTTOM;
priv->final_position = GTK_POS_BOTTOM;
priv->autohide = TRUE;
priv->has_arrow = TRUE;
@ -1349,7 +1349,7 @@ gtk_popover_class_init (GtkPopoverClass *klass)
g_param_spec_enum ("position",
P_("Position"),
P_("Position to place the bubble window"),
GTK_TYPE_POSITION_TYPE, GTK_POS_TOP,
GTK_TYPE_POSITION_TYPE, GTK_POS_BOTTOM,
GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
properties[PROP_AUTOHIDE] =