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
This commit is contained in:
Kristian Rietveld 2007-01-10 17:33:23 +00:00 committed by Kristian Rietveld
parent 8e02f5ff7a
commit 28c44b80bb
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
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> 2007-01-09 Matthias Clasen <mclasen@redhat.com>
* configure.in: Fix the directfb cairo test. (#394855, * configure.in: Fix the directfb cairo test. (#394855,

View File

@ -103,7 +103,7 @@ gtk_cell_renderer_toggle_init (GtkCellRendererToggle *celltoggle)
GTK_CELL_RENDERER (celltoggle)->xpad = 2; GTK_CELL_RENDERER (celltoggle)->xpad = 2;
GTK_CELL_RENDERER (celltoggle)->ypad = 2; GTK_CELL_RENDERER (celltoggle)->ypad = 2;
priv->indicator_size = 12; priv->indicator_size = TOGGLE_WIDTH;
priv->inconsistent = FALSE; priv->inconsistent = FALSE;
} }