[libdazzle] properties-group: add missing breaks
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libdazzle] properties-group: add missing breaks
- Date: Fri, 7 Jul 2017 09:17:02 +0000 (UTC)
commit a82735e91bac449a2b2b979dd04e0164a4c75978
Author: Christian Hergert <chergert redhat com>
Date: Fri Jul 7 02:16:53 2017 -0700
properties-group: add missing breaks
src/actions/dzl-properties-group.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/actions/dzl-properties-group.c b/src/actions/dzl-properties-group.c
index 8a0ac89..2b995d0 100644
--- a/src/actions/dzl-properties-group.c
+++ b/src/actions/dzl-properties-group.c
@@ -118,6 +118,7 @@ get_action_state (GObject *object,
case G_TYPE_BOOLEAN:
ret = g_variant_new_boolean (g_value_get_boolean (&value));
+ break;
default:
g_assert_not_reached ();
@@ -332,6 +333,7 @@ dzl_properties_group_change_action_state (GActionGroup *group,
case G_TYPE_DOUBLE:
g_value_init (&value, G_TYPE_DOUBLE);
g_value_set_double (&value, g_variant_get_double (variant));
+ break;
default:
g_assert_not_reached ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]