[gnome-software/gnome-3-10] Do not remove the application widget twice when it changes state



commit 203afb940089e5c5f8c1767e7e5107b671d464dc
Author: Richard Hughes <richard hughsie com>
Date:   Wed Oct 9 10:11:07 2013 +0100

    Do not remove the application widget twice when it changes state
    
    Hopefully resolves: https://bugzilla.gnome.org/show_bug.cgi?id=709355

 src/gs-shell-installed.c |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/src/gs-shell-installed.c b/src/gs-shell-installed.c
index 5ccda24..6dbb820 100644
--- a/src/gs-shell-installed.c
+++ b/src/gs-shell-installed.c
@@ -183,13 +183,6 @@ gs_shell_installed_app_remove_cb (GsAppWidget *app_widget,
 static void
 app_state_changed (GsApp *app, GtkWidget *widget)
 {
-       GtkWidget *row, *list;
-
-       if (gs_app_get_state (app) == GS_APP_STATE_AVAILABLE) {
-               row = gtk_widget_get_parent (widget);
-               list = gtk_widget_get_parent (row);
-               remove_row (GTK_LIST_BOX (list), widget);
-       }
 }
 
 static void


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