[gtk+] Fix check for 'y' padding in gtk_cell_renderer_set_padding()
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Fix check for 'y' padding in gtk_cell_renderer_set_padding()
- Date: Sun, 11 Jan 2015 20:34:29 +0000 (UTC)
commit 07cf489d2df1fd8e71bfbf8a027876490e6858c6
Author: Maks Naumov <maksqwe1 ukr net>
Date: Sun Jan 11 07:01:40 2015 -0800
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
gtk/gtkcellrenderer.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkcellrenderer.c b/gtk/gtkcellrenderer.c
index 3d3d2f4..adca3f7 100644
--- a/gtk/gtkcellrenderer.c
+++ b/gtk/gtkcellrenderer.c
@@ -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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]