mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 21:51:08 +00:00
Merge branch 'zbrown/tooltips' into 'main'
tooltip: don't cross native boundaries Closes #1234, #5998, gnome-calendar#1038, and nautilus#3063 See merge request GNOME/gtk!6346
This commit is contained in:
commit
c5d89d00f1
@ -302,8 +302,8 @@ gtk_tooltip_set_icon_from_gicon (GtkTooltip *tooltip,
|
||||
* Replaces the widget packed into the tooltip with
|
||||
* @custom_widget. @custom_widget does not get destroyed when the tooltip goes
|
||||
* away.
|
||||
* By default a box with a `GtkImage` and `GtkLabel` is embedded in
|
||||
* the tooltip, which can be configured using gtk_tooltip_set_markup()
|
||||
* By default a box with a `GtkImage` and `GtkLabel` is embedded in
|
||||
* the tooltip, which can be configured using gtk_tooltip_set_markup()
|
||||
* and gtk_tooltip_set_icon().
|
||||
*/
|
||||
void
|
||||
@ -560,6 +560,9 @@ gtk_tooltip_run_requery (GtkWidget **widget,
|
||||
{
|
||||
GtkWidget *parent = gtk_widget_get_parent (*widget);
|
||||
|
||||
if (GTK_IS_NATIVE (*widget))
|
||||
break;
|
||||
|
||||
if (parent)
|
||||
{
|
||||
graphene_point_t r = GRAPHENE_POINT_INIT (*x, *y);
|
||||
|
Loading…
Reference in New Issue
Block a user