[gnome-software] Fix a segfault
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] Fix a segfault
- Date: Tue, 27 Aug 2013 04:00:54 +0000 (UTC)
commit 2e77e89c37a672ff8411b47780afbe89dbac221e
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Aug 26 23:58:01 2013 -0400
Fix a segfault
src/gs-shell.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/gs-shell.c b/src/gs-shell.c
index 1663a30..87a4f0f 100644
--- a/src/gs-shell.c
+++ b/src/gs-shell.c
@@ -40,9 +40,9 @@ struct GsShellPrivate
gboolean ignore_primary_buttons;
GCancellable *cancellable;
GsPluginLoader *plugin_loader;
- GsShellInstalled *shell_installed;
GsShellMode mode;
GsShellOverview *shell_overview;
+ GsShellInstalled *shell_installed;
GsShellUpdates *shell_updates;
GsShellDetails *shell_details;
GsShellCategory *shell_category;
@@ -300,10 +300,10 @@ gs_shell_finalize (GObject *object)
g_object_unref (priv->cancellable);
g_object_unref (priv->plugin_loader);
g_object_unref (priv->shell_overview);
- g_object_unref (priv->shell_updates);
g_object_unref (priv->shell_installed);
+ g_object_unref (priv->shell_updates);
g_object_unref (priv->shell_details);
- g_object_unref (priv->shell_overview);
+ g_object_unref (priv->shell_category);
G_OBJECT_CLASS (gs_shell_parent_class)->finalize (object);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]