aboutsummaryrefslogtreecommitdiff
path: root/pkgs/applications/audio/gigedit/gigedit-1.1.0-pangomm-2.40.1.patch
blob: eb00fcc87a24e59b7d81e6e9a3f5deb130dce97b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- 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);
 }