[gnome-logs] Add missing break in property getter switch
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-logs] Add missing break in property getter switch
- Date: Thu, 22 Jan 2015 10:59:41 +0000 (UTC)
commit e206e830415e8735aa386a8ecb41c79067387a90
Author: David King <davidk gnome org>
Date: Thu Jan 22 10:58:01 2015 +0000
Add missing break in property getter switch
Avoid a spurious warning about an invalid property in GlEventView.
Found with Coverity (CID 86593).
src/gl-eventview.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/gl-eventview.c b/src/gl-eventview.c
index 8a82546..975df63 100644
--- a/src/gl-eventview.c
+++ b/src/gl-eventview.c
@@ -172,6 +172,7 @@ gl_event_view_get_property (GObject *object,
{
case PROP_MODE:
g_value_set_enum (value, priv->mode);
+ break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]