[brasero] Make sure joliet signal always gets emitted when a node is detected
- From: Philippe Rouquier <philippr src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [brasero] Make sure joliet signal always gets emitted when a node is detected
- Date: Mon, 31 Aug 2009 13:32:47 +0000 (UTC)
commit 5f6d7fde377115dd69ecc0d4fdf035dc6b2d2579
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date: Sun Aug 30 10:41:00 2009 +0200
Make sure joliet signal always gets emitted when a node is detected
libbrasero-burn/brasero-data-project.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/libbrasero-burn/brasero-data-project.c b/libbrasero-burn/brasero-data-project.c
index 3b4429b..0ea6336 100644
--- a/libbrasero-burn/brasero-data-project.c
+++ b/libbrasero-burn/brasero-data-project.c
@@ -426,13 +426,13 @@ brasero_data_project_joliet_add_node (BraseroDataProject *self,
g_hash_table_insert (priv->joliet,
table_key,
g_slist_prepend (NULL, node));
- return;
}
-
- list = g_slist_prepend (list, node);
- g_hash_table_insert (priv->joliet,
- &key,
- list);
+ else {
+ list = g_slist_prepend (list, node);
+ g_hash_table_insert (priv->joliet,
+ &key,
+ list);
+ }
/* Signal that we'll have a collision */
g_signal_emit (self,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]