Re: Gtk::PageSetup and Gtk::PrintSettings

On Do, 2016-04-28 at 11:12 -0700, Phil Wolff wrote:
The static members create_from_file() and create_from_key_file() areĀ 
public in Gtk::PageSetup, but protected in Gtk::PrintSettings. Is
a reason for this difference?

It looks like a simple mistake in PrintSettings and you are the first
to try to use those methods since they were added in 2008, or at least
the first to mention it. Thanks.

I've fixed it in git master:

For now, you could try just using the public create() method and
calling load_from_*(), like the implementation of the protected
create_*() methods:

Murray Cumming
murrayc murrayc com

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]