diff options
author | 2003-06-29 13:11:58 +0000 | |
---|---|---|
committer | 2003-06-29 13:11:58 +0000 | |
commit | 4f28b9be4c6bfe125da8b5d116f28622b082de5f (patch) | |
tree | 373ec67d5e3772766f7e53bad555dc86c508522f /gnome-extra/gnome-system-monitor/files | |
parent | Mark stable on x86 (diff) | |
download | historical-4f28b9be4c6bfe125da8b5d116f28622b082de5f.tar.gz historical-4f28b9be4c6bfe125da8b5d116f28622b082de5f.tar.bz2 historical-4f28b9be4c6bfe125da8b5d116f28622b082de5f.zip |
Fix crash at startup
Diffstat (limited to 'gnome-extra/gnome-system-monitor/files')
-rw-r--r-- | gnome-extra/gnome-system-monitor/files/gnome-system-monitor-2.0.5-fix-startup-crash.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gnome-extra/gnome-system-monitor/files/gnome-system-monitor-2.0.5-fix-startup-crash.patch b/gnome-extra/gnome-system-monitor/files/gnome-system-monitor-2.0.5-fix-startup-crash.patch new file mode 100644 index 000000000000..4d6dd142594c --- /dev/null +++ b/gnome-extra/gnome-system-monitor/files/gnome-system-monitor-2.0.5-fix-startup-crash.patch @@ -0,0 +1,12 @@ +--- gnome-system-monitor-2.0.5/src/procman.c.orig 2003-06-29 14:17:58.000000000 +0200 ++++ gnome-system-monitor-2.0.5/src/procman.c 2003-06-29 14:38:07.000000000 +0200 +@@ -389,7 +389,8 @@ + visible = gconf_client_get_bool (client, key, NULL); + g_free (key); + +- column = gtk_tree_view_get_column (GTK_TREE_VIEW (tree), i); ++ if (NULL == (column = gtk_tree_view_get_column (GTK_TREE_VIEW (tree), i))) ++ column = (gtk_tree_view_get_columns (GTK_TREE_VIEW (tree)))->data; + gtk_tree_view_column_set_visible (column, visible); + if (width > 0) + gtk_tree_view_column_set_fixed_width (column, width); |