diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-12-01 14:20:14 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-12-02 15:23:52 +0100 |
commit | b0ab6825869c173d536dc95d433c54c6a5589c3f (patch) | |
tree | 7956ab72d777f97504fc453489250d0edfbe20a9 /libreofficekit/qa | |
parent | 3432a61030910b9bcad706ea8ef889ec8c28e3d4 (diff) |
require at least gtk3 3.12.0 to build gtk3 bits
Change-Id: I608fa4075eadd0b3ed038c26aba5d9383a99b314
Reviewed-on: https://gerrit.libreoffice.org/45669
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'libreofficekit/qa')
-rw-r--r-- | libreofficekit/qa/gtktiledviewer/gtv-comments-sidebar.cxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libreofficekit/qa/gtktiledviewer/gtv-comments-sidebar.cxx b/libreofficekit/qa/gtktiledviewer/gtv-comments-sidebar.cxx index 2ef07d964f89..ab8f9c4cef8a 100644 --- a/libreofficekit/qa/gtktiledviewer/gtv-comments-sidebar.cxx +++ b/libreofficekit/qa/gtktiledviewer/gtv-comments-sidebar.cxx @@ -82,11 +82,9 @@ gtv_comments_sidebar_init(GtvCommentsSidebar* sidebar) g_object_set(sidebar->commentsgrid, "orientation", GTK_ORIENTATION_VERTICAL, nullptr); sidebar->viewannotationsButton = gtk_button_new_with_label(".uno:ViewAnnotations"); -#if GTK_CHECK_VERSION(3,12,0) // Hack to make sidebar grid wide enough to not need any horizontal scrollbar gtk_widget_set_margin_start(sidebar->viewannotationsButton, 20); gtk_widget_set_margin_end(sidebar->viewannotationsButton, 20); -#endif gtk_container_add(GTK_CONTAINER(sidebar), sidebar->viewannotationsButton); g_signal_connect_swapped(sidebar->viewannotationsButton, "clicked", G_CALLBACK(gtv_comments_sidebar_view_annotations_cb), sidebar); |