Fix a crash in the process tree (upstream).

This commit is contained in:
ajacoutot 2014-01-23 14:28:11 +00:00
parent b08d942e5f
commit b85f4884af
2 changed files with 20 additions and 2 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.49 2013/12/09 14:58:26 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.50 2014/01/23 14:28:11 ajacoutot Exp $
COMMENT= sytem monitor for GNOME
GNOME_PROJECT= gnome-system-monitor
GNOME_VERSION= 3.10.2
REVISION= 2
REVISION= 3
CATEGORIES= sysutils

View File

@ -0,0 +1,18 @@
$OpenBSD: patch-src_treeview_c,v 1.1 2014/01/23 14:28:11 ajacoutot Exp $
From 663b058379bf8a1107b5c2f1d94bf14eb5a78062 Mon Sep 17 00:00:00 2001
From: Edward Sheldrake <ejsheldrake@gmail.com>
Date: Sat, 30 Nov 2013 09:38:31 +0000
Subject: Fix process tree column order saving
--- src/treeview.c.orig Sat Oct 12 04:30:58 2013
+++ src/treeview.c Thu Jan 23 15:25:13 2014
@@ -73,7 +73,7 @@ gsm_tree_view_save_state (GsmTreeView *tree_view)
}
g_settings_set_value (priv->settings, "columns-order",
- g_variant_new ("ai", builder));
+ g_variant_builder_end (&builder));
g_list_free (columns);
}