[glom/gtkmm4v4] gtkmm4: tests: Fix build with C++11 class enums.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glom/gtkmm4v4] gtkmm4: tests: Fix build with C++11 class enums.
- Date: Sat, 15 Apr 2017 20:40:10 +0000 (UTC)
commit 63222d28501cc0eb02e0d9a94070baef557907e8
Author: Murray Cumming <murrayc murrayc com>
Date: Sat Apr 15 22:01:58 2017 +0200
gtkmm4: tests: Fix build with C++11 class enums.
.../eggspreadtablemm/test_spreadtablednd.cc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/glom/utility_widgets/eggspreadtablemm/test_spreadtablednd.cc
b/glom/utility_widgets/eggspreadtablemm/test_spreadtablednd.cc
index 32c806d..a0715f6 100644
--- a/glom/utility_widgets/eggspreadtablemm/test_spreadtablednd.cc
+++ b/glom/utility_widgets/eggspreadtablemm/test_spreadtablednd.cc
@@ -311,7 +311,7 @@ create_window()
combo_halign->append("Start");
combo_halign->append("End");
combo_halign->append("Center");
- combo_halign->set_active(INITIAL_HALIGN);
+ combo_halign->set_active(static_cast<int>(INITIAL_HALIGN));
combo_halign->show();
combo_halign->set_tooltip_text("Set the children's halign property");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]