mingw-cross-env-list
[Top][All Lists]
Advanced

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

Re: [Mingw-cross-env-list] Compile GTK with windows theme.


From: Volker Grabsch
Subject: Re: [Mingw-cross-env-list] Compile GTK with windows theme.
Date: Fri, 4 Jun 2010 16:17:03 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

David Stone <address@hidden> schrieb:
> My app is being compiled with gtk statically linked which is fine
> because it make distribution much easier however there seems to me no
> way to change the theme in the normal way. I would like to set it at
> compile time and I tried changing default theme using the sed command:
>     $(SED) -i 's,Raleigh,ms-windows,' '$(1)/gtk/gtksettings.c'
> but it didn't seem to make a difference when I recompiled my app. Is
> there a way to set the ms-windows theme as the default at compile time?

Although the question is related to static linking, the main problem
doesn't seem to have anything to do with that.

So you might want to ask that question on a GTK mailing list. Those
people know GTK better than we do.

BTW, our support for statically linking GTK is still experimental, but
works for many small applications. Any help is welcome to improve that.

> If now how would I go about linking gtk as a shared dll?

Download the official GTK DLLs and link to them directly. I don't
think you need Mingw-cross-env for that task.

Of course you could adjust our "src/gtk.mk" to produce a GTK shared
library. But note that GTK depends on other libraries, so you would
end up with a mix static and shared libraries, which usually causes
a lot of trouble.

For more information, please have a look at:
http://lists.nongnu.org/archive/html/mingw-cross-env-list/2009-09/msg00025.html


Greets,
Volker

-- 
Volker Grabsch
---<<(())>>---
Administrator
NotJustHosting GbR



reply via email to

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