diff options
author | Kristian Rietveld <kris@imendio.com> | 2007-01-10 17:33:23 +0000 |
---|---|---|
committer | Kristian Rietveld <kristian@src.gnome.org> | 2007-01-10 17:33:23 +0000 |
commit | 28c44b80bb843499547181d27aa48baca09af873 (patch) | |
tree | 6e51e193aabc12f6f03a3e305d40fa2378912905 /gtk/gtkcellrenderertoggle.c | |
parent | 8e02f5ff7a06232f2584ec2d8a55ea4aecb59746 (diff) | |
download | gtk+-28c44b80bb843499547181d27aa48baca09af873.tar.gz |
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
Diffstat (limited to 'gtk/gtkcellrenderertoggle.c')
-rw-r--r-- | gtk/gtkcellrenderertoggle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkcellrenderertoggle.c b/gtk/gtkcellrenderertoggle.c index 2d01753912..24f45a7761 100644 --- a/gtk/gtkcellrenderertoggle.c +++ b/gtk/gtkcellrenderertoggle.c @@ -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; } |