[gnome-software] Fix a trivial compile warning



commit c1fce3e4471708c26b1037a79572de2e3b953b48
Author: Richard Hughes <richard hughsie com>
Date:   Thu Aug 29 09:15:34 2013 +0100

    Fix a trivial compile warning

 src/gs-shell-updates.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gs-shell-updates.c b/src/gs-shell-updates.c
index 1c5303d..9c46d69 100644
--- a/src/gs-shell-updates.c
+++ b/src/gs-shell-updates.c
@@ -156,7 +156,7 @@ gs_shell_updates_refresh (GsShellUpdates *shell_updates)
        /* no need to refresh */
        if (priv->cache_valid) {
                 widget = GTK_WIDGET (gtk_builder_get_object (priv->builder, "button_update_all"));
-                list = gtk_container_get_children (priv->list_box_updates);
+                list = gtk_container_get_children (GTK_CONTAINER (priv->list_box_updates));
                 gtk_widget_set_visible (widget, list != NULL);
                 g_list_free (list);
                return;


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