Fix check for 'y' padding in gtk_cell_renderer_set_padding()

Signed-off-by: Maks Naumov <maksqwe1@ukr.net>

https://bugzilla.gnome.org/show_bug.cgi?id=742764
This commit is contained in:
Maks Naumov 2015-01-11 07:01:40 -08:00 committed by Matthias Clasen
parent a29c831f3c
commit 07cf489d2d

View File

@ -1093,7 +1093,7 @@ gtk_cell_renderer_set_padding (GtkCellRenderer *cell,
GtkCellRendererPrivate *priv;
g_return_if_fail (GTK_IS_CELL_RENDERER (cell));
g_return_if_fail (xpad >= 0 && xpad >= 0);
g_return_if_fail (xpad >= 0 && ypad >= 0);
priv = cell->priv;