[gnome-control-center] Use the right return type
- From: Kjartan Maraas <kmaraas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] Use the right return type
- Date: Wed, 2 Mar 2011 19:07:26 +0000 (UTC)
commit 2a92753d9728cb9196d5674ed805a454062a8dec
Author: Kjartan Maraas <kmaraas gnome org>
Date: Thu Feb 24 19:53:47 2011 +0100
Use the right return type
panels/sound/gvc-mixer-stream.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/panels/sound/gvc-mixer-stream.c b/panels/sound/gvc-mixer-stream.c
index 3f5fe56..3637bb4 100644
--- a/panels/sound/gvc-mixer-stream.c
+++ b/panels/sound/gvc-mixer-stream.c
@@ -505,7 +505,7 @@ gvc_mixer_stream_change_port (GvcMixerStream *stream,
const GList *
gvc_mixer_stream_get_ports (GvcMixerStream *stream)
{
- g_return_val_if_fail (GVC_IS_MIXER_STREAM (stream), FALSE);
+ g_return_val_if_fail (GVC_IS_MIXER_STREAM (stream), NULL);
return stream->priv->ports;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]