diff options
author | Matthias Clasen <mclasen@redhat.com> | 2014-03-21 15:41:13 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2014-03-24 10:26:31 -0400 |
commit | 02cd5737f6b0b146d7f98726c66b3d54263188fc (patch) | |
tree | 0abe25f78c5d8ef32895a4993005db8e04d6a7f7 /gtk/gtkcontainerprivate.h | |
parent | 7da97a3642d728c05d9a290e7608d337aaa697eb (diff) | |
download | gtk+-02cd5737f6b0b146d7f98726c66b3d54263188fc.tar.gz |
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.
Diffstat (limited to 'gtk/gtkcontainerprivate.h')
-rw-r--r-- | gtk/gtkcontainerprivate.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 |