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
thereĀ 
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:
https://git.gnome.org/browse/gtkmm/commit/?id=0283fe2267f7d978945f7e8d2
68895b56c7e438d

For now, you could try just using the public create() method and
calling load_from_*(), like the implementation of the protected
create_*() methods:
https://git.gnome.org/browse/gtkmm/tree/gtk/src/printsettings.ccg#n77

-- 
Murray Cumming
murrayc murrayc com
www.murrayc.com





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