GtkButton: Don't use a non-zero border by default

The non-zero default default-border was causing buttons to shrink as
the focus moves around them. Themes which want a default-border should
define it explicitly.
This commit is contained in:
Matthias Clasen 2014-06-11 19:06:36 -04:00
parent 3e65655424
commit 48db936b70

View File

@ -59,7 +59,7 @@
#include "gtkapplicationprivate.h"
#include "gtkactionhelper.h"
static const GtkBorder default_default_border = { 1, 1, 1, 1 };
static const GtkBorder default_default_border = { 0, 0, 0, 0 };
static const GtkBorder default_default_outside_border = { 0, 0, 0, 0 };
/* Time out before giving up on getting a key release when animating