﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
7482	libreoffice now prefers gtk3	ken@…	ken@…	"While looking at a spreadsheet in calc, I noticed that the icons looked gtk3-ish.  Checking through the libs in /usr/lib/libreoffice/program/*.so I found that the references to gtk were for /usr/lib/libgtk-3.so.0 (gtk3) and /usr/lib/libgtk-x11-2.0.so.0 (gtk2).

The autogen script is just a perl fromt-end to configure, and there I see two relevant hunks.  The first shows it will default to gtk3 if no option is given:
{{{
# Check whether --enable-gtk3 was given.
if test ""${enable_gtk3+set}"" = set; then :
  enableval=$enable_gtk3;
else
  enable_gtk3=yes
fi
}}}

The second shows gtk3 needs system cairo, otherwise it will presumably fallback to gtk2:
{{{
if test ""$USING_X11"" != TRUE; then
    enable_gtk=no
    enable_gtk3=no
fi
GTK3_CFLAGS=""""
GTK3_LIBS=""""
ENABLE_GTK3=""""
if test ""x$enable_gtk3"" = ""xyes""; then
    if test ""$with_system_cairo"" = no; then
        as_fn_error $? ""System cairo required for gtk3 support, do not combine --enable-gtk3 with --without-system-cairo"" ""$LINENO"" 5
    fi
    : ${with_system_cairo:=yes}
}}}

I guess that means --disable-gtk3 is now needed to force gtk2.



"	defect	closed	normal	7.9	BOOK	SVN	medium	fixed		
