[brasero] Fix segfault when displaying the plugin dialog
- From: Frederic Peters <fpeters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [brasero] Fix segfault when displaying the plugin dialog
- Date: Thu, 13 Nov 2014 11:01:49 +0000 (UTC)
commit 2d2d4be966d5a76ee5e78f77863b6403ee9c7b34
Author: Laurent Bigonville <bigon bigon be>
Date: Sat Oct 4 15:31:19 2014 +0200
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 files changed, 1 insertions(+), 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);
*/
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]