summaryrefslogtreecommitdiff
path: root/gtk/gtkcellrenderer.c
diff options
context:
space:
mode:
authorMatthias Clasen <maclas@gmx.de>2004-02-11 01:09:25 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2004-02-11 01:09:25 +0000
commit0cd208cfeed23618078473f50178b1ce15aa5371 (patch)
treef28ad2d8159868a527769822c41399702061a2c6 /gtk/gtkcellrenderer.c
parent61ced3dfc3363fc7ea32dc3e5264614a971face5 (diff)
downloadgdk-pixbuf-0cd208cfeed23618078473f50178b1ce15aa5371.tar.gz
Remove arbitrary low upper limits on the xpad, ypad, width and height
Wed Feb 11 02:06:38 2004 Matthias Clasen <maclas@gmx.de> * gtk/gtkcellrenderer.c (gtk_cell_renderer_class_init): Remove arbitrary low upper limits on the xpad, ypad, width and height properties. (#129696, John Ellis) Wed Feb 11 01:24:20 2004 Matthias Clasen <maclas@gmx.de> * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_clear_attributes): Ugh. Don't try to free ints, even if they're stored in pointers. (#133997, Morten Welinder)
Diffstat (limited to 'gtk/gtkcellrenderer.c')
-rw-r--r--gtk/gtkcellrenderer.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/gtkcellrenderer.c b/gtk/gtkcellrenderer.c
index dd721233a..5c47b18dd 100644
--- a/gtk/gtkcellrenderer.c
+++ b/gtk/gtkcellrenderer.c
@@ -191,7 +191,7 @@ gtk_cell_renderer_class_init (GtkCellRendererClass *class)
P_("xpad"),
P_("The xpad"),
0,
- 100,
+ G_MAXUINT,
2,
G_PARAM_READABLE |
G_PARAM_WRITABLE));
@@ -202,7 +202,7 @@ gtk_cell_renderer_class_init (GtkCellRendererClass *class)
P_("ypad"),
P_("The ypad"),
0,
- 100,
+ G_MAXUINT,
2,
G_PARAM_READABLE |
G_PARAM_WRITABLE));
@@ -213,7 +213,7 @@ gtk_cell_renderer_class_init (GtkCellRendererClass *class)
P_("width"),
P_("The fixed width"),
-1,
- 100,
+ G_MAXINT,
-1,
G_PARAM_READABLE |
G_PARAM_WRITABLE));
@@ -224,7 +224,7 @@ gtk_cell_renderer_class_init (GtkCellRendererClass *class)
P_("height"),
P_("The fixed height"),
-1,
- 100,
+ G_MAXINT,
-1,
G_PARAM_READABLE |
G_PARAM_WRITABLE));