16 lines
553 B
Diff
16 lines
553 B
Diff
--- a/src/gigedit/wrapLabel.cc
|
|
+++ b/src/gigedit/wrapLabel.cc
|
|
@@ -64,12 +64,7 @@ WrapLabel::WrapLabel(const Glib::ustring &text) // IN: The label text
|
|
: mWrapWidth(0),
|
|
mWrapHeight(0)
|
|
{
|
|
- // pangomm >= 2.35.1
|
|
-#if PANGOMM_MAJOR_VERSION > 2 || (PANGOMM_MAJOR_VERSION == 2 && (PANGOMM_MINOR_VERSION > 35 || (PANGOMM_MINOR_VERSION == 35 && PANGOMM_MICRO_VERSION >= 1)))
|
|
- get_layout()->set_wrap(Pango::WrapMode::WORD_CHAR);
|
|
-#else
|
|
get_layout()->set_wrap(Pango::WRAP_WORD_CHAR);
|
|
-#endif
|
|
set_alignment(0.0, 0.0);
|
|
set_text(text);
|
|
}
|