beaver-devel
[Top][All Lists]
Advanced

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

Re: [Beaver-devel] GTK/Glib dependencies


From: Higor Eurípedes
Subject: Re: [Beaver-devel] GTK/Glib dependencies
Date: Wed, 31 Dec 2008 10:21:26 -0300

>  This must maybe also be updated in the autotools version.

Done! :)

Hmm... maybe we can stay with the 2.8 min gtk version and only enable
the gtkprint* stuff
if the version is 2.10 or higher.

add this somewere (i think its not valid syntax hehe, havent tested):

#if GTK_CHECK_VERSION(2,10,0)
#define HAS_PRINTING_SYSTEM
#endif

and add this in the functions related to printing:

void my_printing_function (bla bla bla)
{
#ifdef HAS_PRINTING_SYSTEM
     // do the stuff
#endif
}

-- 
Higor Euripedes (enygmata)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]