mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-30 15:31:34 +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 *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);
|
||||
|
Loading…
Reference in New Issue
Block a user