Hi,

For example in debian, the package libgtk1.2-dev depend
on package pkg-config. So we can't install libgtk1.2-dev
without pkg-config.

I think, if there is no pkg-config *or* no gtk+,
`pkg-config --cflags gtk+` return empty string
and nothing is added to C_USR. So no need to
protect this line ...

I suggest the change because hbgfgtk is an old
developpement (2001 ?) with gtk+ and not gtk+2.0.

Guy

Szakáts Viktor a écrit :
Hi folks,

Isn't it better to remove this call? Or guard it
with an #ifdef? If the latter, what #ifdef is need?

Brgds,
Viktor

On 2008.06.27., at 11:15, Guy Roussin wrote:

Hi,

The gtk_menu_bar_set_shadow_type is deprecated in gtk+2.0, it's only
available in version 1.

Thank you Rodrigo.

So i suggest to change  :
C_USR += `pkg-config --cflags gtk+-2.0`
with
C_USR += `pkg-config --cflags gtk+`

in  harbour/contrib/hbgf/hbgfgtk/Makefile

Guy

_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to