summaryrefslogtreecommitdiffstats
path: root/src/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets')
-rw-r--r--src/widgets/ink-comboboxentry-action.cpp2
-rw-r--r--src/widgets/stroke-style.cpp6
2 files changed, 7 insertions, 1 deletions
diff --git a/src/widgets/ink-comboboxentry-action.cpp b/src/widgets/ink-comboboxentry-action.cpp
index 5c59f6961..1114d2cdb 100644
--- a/src/widgets/ink-comboboxentry-action.cpp
+++ b/src/widgets/ink-comboboxentry-action.cpp
@@ -389,7 +389,7 @@ GtkWidget* create_tool_item( GtkAction* action )
GtkTreeViewRowSeparatorFunc (ink_comboboxentry_action->separator_func),
NULL, NULL );
}
-
+
// FIXME: once gtk3 migration is done this can be removed
// https://bugzilla.gnome.org/show_bug.cgi?id=734915
gtk_widget_show_all (comboBoxEntry);
diff --git a/src/widgets/stroke-style.cpp b/src/widgets/stroke-style.cpp
index 3fa39da6f..cb18207f4 100644
--- a/src/widgets/stroke-style.cpp
+++ b/src/widgets/stroke-style.cpp
@@ -763,6 +763,9 @@ StrokeStyle::setJoinType (unsigned const jointype)
tb = joinBevel;
break;
default:
+ // Should not happen
+ std::cerr << "StrokeStyle::setJoinType(): Invalid value" << std::endl;
+ tb = joinMiter;
break;
}
setJoinButtons(tb);
@@ -786,6 +789,9 @@ StrokeStyle::setCapType (unsigned const captype)
tb = capSquare;
break;
default:
+ // Should not happen
+ std::cerr << "StrokeStyle::setCapType(): Invalid value" << std::endl;
+ tb = capButt;
break;
}
setCapButtons(tb);