summaryrefslogtreecommitdiff
path: root/gtk/gtktooltip.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2009-10-18 20:38:28 -0400
committerMatthias Clasen <mclasen@redhat.com>2009-10-18 20:38:28 -0400
commit52ef2f2a3e0835f861712680cef69ed550064e91 (patch)
treebb03174492ad4b4cff84b6e4c932cab4c068c26f /gtk/gtktooltip.c
parentab13c00a38e17d239cab10292f2943014c1e547d (diff)
downloadgtk+-52ef2f2a3e0835f861712680cef69ed550064e91.tar.gz
Correct a small oversight
When changing themes, we also need to update the box spacing of tooltips.
Diffstat (limited to 'gtk/gtktooltip.c')
-rw-r--r--gtk/gtktooltip.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtktooltip.c b/gtk/gtktooltip.c
index 1f4de9d776..ee4fb0e0e9 100644
--- a/gtk/gtktooltip.c
+++ b/gtk/gtktooltip.c
@@ -501,6 +501,8 @@ gtk_tooltip_window_style_set (GtkTooltip *tooltip)
tooltip->window->style->ythickness,
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);
}