cellrenderertoggle: Fix compile warnings

This commit is contained in:
Rico Tzschichholz 2016-10-23 19:10:06 +02:00
parent 614079ffb0
commit c15d61df1f

View File

@ -323,15 +323,12 @@ gtk_cell_renderer_toggle_get_size (GtkCellRenderer *cell,
gint *width,
gint *height)
{
GtkCellRendererTogglePrivate *priv;
gint calc_width;
gint calc_height;
gint xpad, ypad;
GtkStyleContext *context;
GtkBorder border, padding;
priv = GTK_CELL_RENDERER_TOGGLE (cell)->priv;
gtk_cell_renderer_get_padding (cell, &xpad, &ypad);
context = gtk_cell_renderer_toggle_save_context (cell, widget);