mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-17 23:50:16 +00:00
cellrenderertoggle: Fix compile warnings
This commit is contained in:
parent
614079ffb0
commit
c15d61df1f
@ -323,15 +323,12 @@ gtk_cell_renderer_toggle_get_size (GtkCellRenderer *cell,
|
|||||||
gint *width,
|
gint *width,
|
||||||
gint *height)
|
gint *height)
|
||||||
{
|
{
|
||||||
GtkCellRendererTogglePrivate *priv;
|
|
||||||
gint calc_width;
|
gint calc_width;
|
||||||
gint calc_height;
|
gint calc_height;
|
||||||
gint xpad, ypad;
|
gint xpad, ypad;
|
||||||
GtkStyleContext *context;
|
GtkStyleContext *context;
|
||||||
GtkBorder border, padding;
|
GtkBorder border, padding;
|
||||||
|
|
||||||
priv = GTK_CELL_RENDERER_TOGGLE (cell)->priv;
|
|
||||||
|
|
||||||
gtk_cell_renderer_get_padding (cell, &xpad, &ypad);
|
gtk_cell_renderer_get_padding (cell, &xpad, &ypad);
|
||||||
|
|
||||||
context = gtk_cell_renderer_toggle_save_context (cell, widget);
|
context = gtk_cell_renderer_toggle_save_context (cell, widget);
|
||||||
|
Loading…
Reference in New Issue
Block a user