[gtk+/wip/baedert/drawing: 46/50] spinbutton: Don't fall through to default case in get_property
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/baedert/drawing: 46/50] spinbutton: Don't fall through to default case in get_property
- Date: Fri, 16 Jun 2017 14:20:17 +0000 (UTC)
commit ba3920d0497df0cbb57dbd3ff5e837698d71515b
Author: Timm Bäder <mail baedert org>
Date: Fri Jun 16 14:33:58 2017 +0200
spinbutton: Don't fall through to default case in get_property
That's not right of course.
gtk/gtkspinbutton.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkspinbutton.c b/gtk/gtkspinbutton.c
index c88b158..91a478e 100644
--- a/gtk/gtkspinbutton.c
+++ b/gtk/gtkspinbutton.c
@@ -680,6 +680,7 @@ gtk_spin_button_get_property (GObject *object,
break;
case PROP_TEXT:
g_value_set_string (value, gtk_entry_get_text (GTK_ENTRY (priv->entry)));
+ 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]