[gupnp-av] Add missing breaks



commit a798a6e0c00fa75d108ca5baaea5d29f479f204f
Author: Jens Georg <mail jensge org>
Date:   Tue Jan 24 14:12:06 2012 +0100

    Add missing breaks

 libgupnp-av/gupnp-didl-lite-container.c |    1 +
 libgupnp-av/gupnp-didl-lite-object.c    |    1 +
 libgupnp-av/gupnp-didl-lite-resource.c  |    1 +
 3 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/libgupnp-av/gupnp-didl-lite-container.c b/libgupnp-av/gupnp-didl-lite-container.c
index fdda0c1..32ba543 100644
--- a/libgupnp-av/gupnp-didl-lite-container.c
+++ b/libgupnp-av/gupnp-didl-lite-container.c
@@ -107,6 +107,7 @@ gupnp_didl_lite_container_set_property (GObject      *object,
                 gupnp_didl_lite_container_set_storage_used
                                         (container,
                                          g_value_get_int64 (value));
+                break;
         default:
                 G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
                 break;
diff --git a/libgupnp-av/gupnp-didl-lite-object.c b/libgupnp-av/gupnp-didl-lite-object.c
index 20c833c..3eea19b 100644
--- a/libgupnp-av/gupnp-didl-lite-object.c
+++ b/libgupnp-av/gupnp-didl-lite-object.c
@@ -238,6 +238,7 @@ gupnp_didl_lite_object_get_property (GObject    *object,
                         (value,
                          gupnp_didl_lite_object_get_dc_namespace
                                 (didl_object));
+                break;
         case PROP_DLNA_NAMESPACE:
                 g_value_set_pointer
                         (value,
diff --git a/libgupnp-av/gupnp-didl-lite-resource.c b/libgupnp-av/gupnp-didl-lite-resource.c
index fa9a327..43481f5 100644
--- a/libgupnp-av/gupnp-didl-lite-resource.c
+++ b/libgupnp-av/gupnp-didl-lite-resource.c
@@ -266,6 +266,7 @@ gupnp_didl_lite_resource_get_property (GObject    *object,
         case PROP_SIZE:
                 g_value_set_long (value,
                                   gupnp_didl_lite_resource_get_size (resource));
+                break;
         case PROP_SIZE64:
                 g_value_set_int64 (value,
                                    gupnp_didl_lite_resource_get_size64 (resource));



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]