[brasero] Fix #591471 – crashes when handling basic command line options
- From: Philippe Rouquier <philippr src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [brasero] Fix #591471 – crashes when handling basic command line options
- Date: Wed, 12 Aug 2009 18:36:33 +0000 (UTC)
commit 90424009d4000237834ccf1b653cf14aab49a7c3
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date: Wed Aug 12 20:26:45 2009 +0200
Fix #591471 â?? crashes when handling basic command line options
Add forgotten NULL entry at the end of GOptionEntry array
libbrasero-burn/burn-debug.c | 3 ++-
libbrasero-media/brasero-media.c | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/libbrasero-burn/burn-debug.c b/libbrasero-burn/burn-debug.c
index 533e0e9..9065aab 100644
--- a/libbrasero-burn/burn-debug.c
+++ b/libbrasero-burn/burn-debug.c
@@ -49,7 +49,8 @@ static gboolean debug = FALSE;
static const GOptionEntry options [] = {
{ "brasero-burn-debug", 'g', 0, G_OPTION_ARG_NONE, &debug,
N_("Display debug statements on stdout for Brasero burn library"),
- NULL }
+ NULL },
+ { NULL }
};
/**
diff --git a/libbrasero-media/brasero-media.c b/libbrasero-media/brasero-media.c
index 6f76f78..869f585 100644
--- a/libbrasero-media/brasero-media.c
+++ b/libbrasero-media/brasero-media.c
@@ -51,7 +51,8 @@ static gboolean debug = 0;
static const GOptionEntry options [] = {
{ "brasero-media-debug", 0, 0, G_OPTION_ARG_NONE, &debug,
N_("Display debug statements on stdout for Brasero media library"),
- NULL }
+ NULL },
+ { NULL }
};
static GSList *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]