[gnome-software] trivial: Remove an empty unused switch statement
- From: Kalev Lember <klember src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] trivial: Remove an empty unused switch statement
- Date: Tue, 30 Sep 2014 10:44:23 +0000 (UTC)
commit 146d4e94499d7fde8ee7a657b7de70a20e6c1f27
Author: Kalev Lember <kalevlember gmail com>
Date: Tue Sep 30 12:34:01 2014 +0200
trivial: Remove an empty unused switch statement
src/gs-shell-details.c | 12 +-----------
1 files changed, 1 insertions(+), 11 deletions(-)
---
diff --git a/src/gs-shell-details.c b/src/gs-shell-details.c
index 5199d59..baa24cb 100644
--- a/src/gs-shell-details.c
+++ b/src/gs-shell-details.c
@@ -515,7 +515,7 @@ gs_shell_details_refresh_all (GsShellDetails *shell_details)
GError *error = NULL;
GPtrArray *history;
GdkPixbuf *pixbuf = NULL;
- GList *addons, *l;
+ GList *addons;
GsShellDetailsPrivate *priv = shell_details->priv;
GtkWidget *widget;
const gchar *tmp;
@@ -791,16 +791,6 @@ gs_shell_details_refresh_all (GsShellDetails *shell_details)
addons = gtk_container_get_children (GTK_CONTAINER (priv->list_box_addons));
gtk_widget_set_visible (priv->box_addons, addons != NULL);
- for (l = addons; l; l = l->next) {
- /* show checkboxes in front of addons if the app isn't yet installed */
- switch (gs_app_get_state (priv->app)) {
- case AS_APP_STATE_INSTALLED:
- case AS_APP_STATE_UPDATABLE:
- break;
- default:
- break;
- }
- }
g_list_free (addons);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]