[gtk+] cellrenderertoggle: Fix compile warnings



commit c15d61df1f2904b3d820f0cff6a6ac9e3e6e57de
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Sun Oct 23 19:10:06 2016 +0200

    cellrenderertoggle: Fix compile warnings

 gtk/gtkcellrenderertoggle.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkcellrenderertoggle.c b/gtk/gtkcellrenderertoggle.c
index 221cb19..d1aa7f1 100644
--- a/gtk/gtkcellrenderertoggle.c
+++ b/gtk/gtkcellrenderertoggle.c
@@ -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);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]