SHA256
1
0
forked from pool/bijiben
bijiben/bijiben-fix-missing-break-in-case-statement.patch
Bjørn Lie a965b692cb Accepting request 502910 from home:Zaitor
Add upstream bug fix patches, note that this will actually break the build in GN in a new place, but we'll cross that bridge later.

OBS-URL: https://build.opensuse.org/request/show/502910
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/bijiben?expand=0&rev=67
2017-06-12 19:36:05 +00:00

31 lines
895 B
Diff

From 5cbfeec214509b97d67877cfb0e52c6c37c6f6d4 Mon Sep 17 00:00:00 2001
From: Isaque Galdino <igaldino@gmail.com>
Date: Sun, 11 Jun 2017 15:30:09 -0300
Subject: main-toolbar: Missing break in case statement
gcc7 is complainting about an implicit-fallthrough situation: a missing
break in a case statement.
This commit adds that to the code.
https://bugzilla.gnome.org/show_bug.cgi?id=783465
---
src/bjb-main-toolbar.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/bjb-main-toolbar.c b/src/bjb-main-toolbar.c
index b44f68e..4e49dc2 100644
--- a/src/bjb-main-toolbar.c
+++ b/src/bjb-main-toolbar.c
@@ -1131,6 +1131,7 @@ bjb_main_toolbar_get_property (GObject *object,
{
case PROP_PARENT:
g_value_set_object (value, self->priv->parent);
+ break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
break;
--
cgit v0.12