Re: Changing default printer of Gnome2::Print::Config



Hi all,

On Thu, 2005-07-28 at 23:02 -0400, muppet wrote:

But the problem is that $config->set () resolves to Glib::Object::set 
(), which doesn't recognize the printconfig keys.

That's because gnome_print_config_set(), the function that sets  
string keys, isn't bound.  I'm not sure why -- all the others are.

Because I've wanted to resolve the name clash between Glib::Object::set
and Gnome2::Print::Config::set since I noticed it, but then I completely
forgot it; I do have a working version, which renamed the latter to
"set_string" (since it's used just for this, and I even think of making
a patch for libgnomeprint that renamed the C function accordingly), but
for some strange reason I get a sgefault when I try to test
Gnome2::Print example programs (I should not use experimental packages,
I know), so I didn't commit it without at least a test run.

Regards,
 Emmanuele.

-- 
Emmanuele Bassi <ebassi gmail com>
Web site: http://log.emmanuelebassi.net




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