diff options
author | Debarshi Ray <debarshir@gnome.org> | 2017-03-02 10:50:39 +0100 |
---|---|---|
committer | Debarshi Ray <debarshir@gnome.org> | 2017-03-04 20:50:04 +0100 |
commit | 8bb1aebf7f2488fb81052732224a8ec79c36fcfa (patch) | |
tree | da8fa2aa708b072e8673a6ca71304f63daa669c5 | |
parent | eaef0ee3c2da2aa9b37f7a4ad0ffd5b2d1cae900 (diff) | |
download | libgd-8bb1aebf7f2488fb81052732224a8ec79c36fcfa.tar.gz |
main-icon-box: Remove unused variables
Fallout from ee1dcc7a555a9cfc7790c517414aa51e84e6abbe
https://bugzilla.gnome.org/show_bug.cgi?id=774914
-rw-r--r-- | 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)); } |