Package: brasero / 3.11.4-1.1

01_fix-plugin-dialog-segfault.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
From 492d99443a76e02ff16d128779fefc8083eb82ab Mon Sep 17 00:00:00 2001
From: Laurent Bigonville <bigon@bigon.be>
Date: Sat, 4 Oct 2014 15:31:19 +0200
Subject: [PATCH] Fix segfault when displaying the plugin dialog

This partially revert changes from
426841b445f8f62191f2b0569088e0da15c42068

https://bugzilla.gnome.org/show_bug.cgi?id=728376
---
 src/brasero-plugin-manager-ui.c | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/src/brasero-plugin-manager-ui.c b/src/brasero-plugin-manager-ui.c
index bca5fd4..9fde757 100644
--- a/src/brasero-plugin-manager-ui.c
+++ b/src/brasero-plugin-manager-ui.c
@@ -241,16 +241,12 @@ plugin_manager_ui_view_icon_cell_cb (GtkTreeViewColumn *tree_column,
 				     GtkTreeIter       *iter,
 				     gpointer           data)
 {
-	BraseroPlugin *plugin;
 	
 	g_return_if_fail (tree_model != NULL);
 	g_return_if_fail (tree_column != NULL);
 
-	gtk_tree_model_get (tree_model, iter, PLUGIN_COLUMN, &plugin, -1);
-
 	g_object_set (G_OBJECT (cell),
 		      "visible", FALSE,
-		      "sensitive", brasero_plugin_get_gtype (plugin) != G_TYPE_NONE && !brasero_plugin_get_compulsory (plugin),
 		      NULL);
 	return;
 /*
@@ -271,7 +267,7 @@ plugin_manager_ui_view_icon_cell_cb (GtkTreeViewColumn *tree_column,
 		      "icon-name",
 		      brasero_plugin_get_icon_name (plugin),
 		      "sensitive",
-		      brasero_plugin_get_gtype (plugin) != G_TYPE_NONE,
+		      brasero_plugin_get_gtype (plugin) != G_TYPE_NONE && !brasero_plugin_get_compulsory (plugin),
 		      NULL);
 */
 }
-- 
2.1.1