Commit 28c44b80 authored by Kristian Rietveld's avatar Kristian Rietveld Committed by Kristian Rietveld

refactor to initialize indicator_size to TOGGLE_WIDTH instead of the

2007-01-10  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_init):
	refactor to initialize indicator_size to TOGGLE_WIDTH instead
	of the hardcoded value of 12.


svn path=/trunk/; revision=17128
parent 8e02f5ff
2007-01-10 Kristian Rietveld <kris@imendio.com>
* gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_init):
refactor to initialize indicator_size to TOGGLE_WIDTH instead
of the hardcoded value of 12.
2007-01-09 Matthias Clasen <mclasen@redhat.com>
* configure.in: Fix the directfb cairo test. (#394855,
......
......@@ -103,7 +103,7 @@ gtk_cell_renderer_toggle_init (GtkCellRendererToggle *celltoggle)
GTK_CELL_RENDERER (celltoggle)->xpad = 2;
GTK_CELL_RENDERER (celltoggle)->ypad = 2;
priv->indicator_size = 12;
priv->indicator_size = TOGGLE_WIDTH;
priv->inconsistent = FALSE;
}
......
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