Correct a small oversight
When changing themes, we also need to update the box spacing of tooltips.
This commit is contained in:
@ -501,6 +501,8 @@ gtk_tooltip_window_style_set (GtkTooltip *tooltip)
|
|||||||
tooltip->window->style->ythickness,
|
tooltip->window->style->ythickness,
|
||||||
tooltip->window->style->xthickness,
|
tooltip->window->style->xthickness,
|
||||||
tooltip->window->style->xthickness);
|
tooltip->window->style->xthickness);
|
||||||
|
gtk_box_set_spacing (GTK_BOX (tooltip->hbox,
|
||||||
|
tooltip->window->style->xthickness);
|
||||||
|
|
||||||
gtk_widget_queue_draw (tooltip->window);
|
gtk_widget_queue_draw (tooltip->window);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user