File brasero-fix-segfault-when-displaying-the-plugin-dialog.patch of Package brasero
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