mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 06:00:22 +00:00
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:
parent
8e02f5ff7a
commit
28c44b80bb
@ -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,
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user