Commit 70c0fa3a authored by Jonathan Blandford's avatar Jonathan Blandford Committed by Jonathan Blandford

Fix buglet in meeting.

Tue Mar 20 15:00:43 2001  Jonathan Blandford  <jrb@webwynk.net>

	* gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render):
	Fix buglet in meeting.
parent 73e9d113
Tue Mar 20 15:00:43 2001 Jonathan Blandford <jrb@webwynk.net>
* gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render):
Fix buglet in meeting.
2001-03-19 Havoc Pennington <hp@redhat.com>
* gtk/gtkiconfactory.c: Make GtkIconSource an opaque datatype, and
......
Tue Mar 20 15:00:43 2001 Jonathan Blandford <jrb@webwynk.net>
* gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render):
Fix buglet in meeting.
2001-03-19 Havoc Pennington <hp@redhat.com>
* gtk/gtkiconfactory.c: Make GtkIconSource an opaque datatype, and
......
Tue Mar 20 15:00:43 2001 Jonathan Blandford <jrb@webwynk.net>
* gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render):
Fix buglet in meeting.
2001-03-19 Havoc Pennington <hp@redhat.com>
* gtk/gtkiconfactory.c: Make GtkIconSource an opaque datatype, and
......
Tue Mar 20 15:00:43 2001 Jonathan Blandford <jrb@webwynk.net>
* gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render):
Fix buglet in meeting.
2001-03-19 Havoc Pennington <hp@redhat.com>
* gtk/gtkiconfactory.c: Make GtkIconSource an opaque datatype, and
......
Tue Mar 20 15:00:43 2001 Jonathan Blandford <jrb@webwynk.net>
* gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render):
Fix buglet in meeting.
2001-03-19 Havoc Pennington <hp@redhat.com>
* gtk/gtkiconfactory.c: Make GtkIconSource an opaque datatype, and
......
Tue Mar 20 15:00:43 2001 Jonathan Blandford <jrb@webwynk.net>
* gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render):
Fix buglet in meeting.
2001-03-19 Havoc Pennington <hp@redhat.com>
* gtk/gtkiconfactory.c: Make GtkIconSource an opaque datatype, and
......
Tue Mar 20 15:00:43 2001 Jonathan Blandford <jrb@webwynk.net>
* gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render):
Fix buglet in meeting.
2001-03-19 Havoc Pennington <hp@redhat.com>
* gtk/gtkiconfactory.c: Make GtkIconSource an opaque datatype, and
......
......@@ -236,7 +236,8 @@ gtk_cell_renderer_toggle_get_size (GtkCellRenderer *cell,
if (height)
*height = calc_height;
if (width && height)
g_print ("Checking width/height %d %d\n", *width, *height);
if (cell_area)
{
if (x_offset)
......@@ -267,12 +268,11 @@ gtk_cell_renderer_toggle_render (GtkCellRenderer *cell,
GtkShadowType shadow;
GtkStateType state;
width = MIN (TOGGLE_WIDTH, cell_area->width - cell->xpad * 2);
height = MIN (TOGGLE_WIDTH, cell_area->height - cell->ypad * 2);
gtk_cell_renderer_toggle_get_size (cell, widget, cell_area,
&x_offset, &y_offset,
&width, &height);
width -= cell->xpad*2;
height -= cell->ypad*2;
if (width <= 0 || height <= 0)
return;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment