From 02cd5737f6b0b146d7f98726c66b3d54263188fc Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 21 Mar 2014 15:41:13 -0400 Subject: Don't let themes override explicit border-width in dialogs This fixes an issue where the theme-provided border-width prevents dialog contents from lining up properly with the headerbar. To make this work in message dialogs, we have to explicitly set the border- width of the action area to 0. --- gtk/gtkcontainerprivate.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gtk/gtkcontainerprivate.h') diff --git a/gtk/gtkcontainerprivate.h b/gtk/gtkcontainerprivate.h index dd989d2dc7..79ed0b8720 100644 --- a/gtk/gtkcontainerprivate.h +++ b/gtk/gtkcontainerprivate.h @@ -41,6 +41,9 @@ gboolean _gtk_container_get_reallocate_redraws (GtkContainer *container); void _gtk_container_stop_idle_sizer (GtkContainer *container); void _gtk_container_maybe_start_idle_sizer (GtkContainer *container); +gboolean _gtk_container_get_border_width_set (GtkContainer *container); +void _gtk_container_set_border_width_set (GtkContainer *container, + gboolean border_width_set); G_END_DECLS -- cgit v1.2.1