[libgd] main-icon-box: Remove unused variables



commit 8bb1aebf7f2488fb81052732224a8ec79c36fcfa
Author: Debarshi Ray <debarshir gnome org>
Date:   Thu Mar 2 10:50:39 2017 +0100

    main-icon-box: Remove unused variables
    
    Fallout from ee1dcc7a555a9cfc7790c517414aa51e84e6abbe
    
    https://bugzilla.gnome.org/show_bug.cgi?id=774914

 libgd/gd-main-icon-box.c |   12 ------------
 1 files changed, 0 insertions(+), 12 deletions(-)
---
diff --git a/libgd/gd-main-icon-box.c b/libgd/gd-main-icon-box.c
index b96302b..c84e848 100644
--- a/libgd/gd-main-icon-box.c
+++ b/libgd/gd-main-icon-box.c
@@ -114,11 +114,8 @@ static GdMainBoxChild *
 gd_main_icon_box_get_child_at_index (GdMainBoxGeneric *generic, gint index)
 {
   GdMainIconBox *self = GD_MAIN_ICON_BOX (generic);
-  GdMainIconBoxPrivate *priv;
   GtkFlowBoxChild *child;
 
-  priv = gd_main_icon_box_get_instance_private (self);
-
   child = gtk_flow_box_get_child_at_index (GTK_FLOW_BOX (self), index);
   return GD_MAIN_BOX_CHILD (child);
 }
@@ -147,11 +144,8 @@ static GList *
 gd_main_icon_box_get_selected_children (GdMainBoxGeneric *generic)
 {
   GdMainIconBox *self = GD_MAIN_ICON_BOX (generic);
-  GdMainIconBoxPrivate *priv;
   GList *selected_children;
 
-  priv = gd_main_icon_box_get_instance_private (self);
-
   selected_children = gtk_flow_box_get_selected_children (GTK_FLOW_BOX (self));
   return selected_children;
 }
@@ -194,9 +188,6 @@ static void
 gd_main_icon_box_select_child (GdMainBoxGeneric *generic, GdMainBoxChild *child)
 {
   GdMainIconBox *self = GD_MAIN_ICON_BOX (generic);
-  GdMainIconBoxPrivate *priv;
-
-  priv = gd_main_icon_box_get_instance_private (self);
   gtk_flow_box_select_child (GTK_FLOW_BOX (self), GTK_FLOW_BOX_CHILD (child));
 }
 
@@ -291,9 +282,6 @@ static void
 gd_main_icon_box_unselect_child (GdMainBoxGeneric *generic, GdMainBoxChild *child)
 {
   GdMainIconBox *self = GD_MAIN_ICON_BOX (generic);
-  GdMainIconBoxPrivate *priv;
-
-  priv = gd_main_icon_box_get_instance_private (self);
   gtk_flow_box_unselect_child (GTK_FLOW_BOX (self), GTK_FLOW_BOX_CHILD (child));
 }
 


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