Re: GtkBuildable type resolver

2007-06-09 Thread Andrew Cowie
On Thu, 2007-06-07 at 10:45 -0300, Johan Dahlin wrote: > Do you have one list per binding, or one big "metadata database" which > shared between all third party libraries? It's just one hash table. It's handled transparently (and internally) as a resource within the jar file we turn out. But no,

PangoCairo refactoring

2007-06-09 Thread Behdad Esfahbod
Hi Tor and Richard, I finally finished and committed a patch I had lying around to move most of the code from pangocairo-fcfont.c into pangocairo-font.c. It mostly includes glyph extents cache but also other bits that is generic in cairo. With the new code, the only methods that a PangoCairo*Fon

Re: GtkLabel and text from int variable

2007-06-09 Thread Martyn Russell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 [EMAIL PROTECTED] wrote: > Hi, Hi, > is there a possibility to put a value of int variable as a text of GtkLabel. > I tried to do it > in that way: > > int var = 100; > char* buf[11]; > sprintf(buf, "%i%c", var, 0); > gtk_label_set_text(gtk_label,

GtkLabel and text from int variable

2007-06-09 Thread przemu
Hi, is there a possibility to put a value of int variable as a text of GtkLabel. I tried to do it in that way: int var = 100; char* buf[11]; sprintf(buf, "%i%c", var, 0); gtk_label_set_text(gtk_label, buf); or with no null character sprintf(buf, "%i", 100). Neither of them works. How can i do

Re: gtk+ configure can't find cairo-pdf

2007-06-09 Thread rahed
Cody Russell <[EMAIL PROTECTED]> writes: > Try this script and save it as pkg-config.sh: > > #!/bin/sh > if pkg-config "$@" > /dev/null 2>&1 ; then > res=true > else > res=false > fi > pkg-config "$@" | tr -d \\r && $res > > Then set an environment var PKG_CONFIG=/path/to/pkg-config.sh That did h

Re: gtk+ configure can't find cairo-pdf

2007-06-09 Thread Cody Russell
On Sat, 2007-06-09 at 11:51 -0400, Owen Taylor wrote: > The ^A is actually a bash problem on Windows (or maybe specifically > with the msys version). It was a couple of years ago that I ran into > it, > so I don't remember the details, but it was something involving the > newline stripping behavior

Re: gtk+ configure can't find cairo-pdf

2007-06-09 Thread Jernej Simončič
On Sat, 09 Jun 2007 11:51:15 -0400, Owen Taylor wrote: > The ^A is actually a bash problem on Windows (or maybe specifically > with the msys version). IIRC, it happens when you use a native (non-msys) Windows console program in msys bash backticks. -- < Jernej Simončič >< http://deepthought.ena

Re: gtk+ configure can't find cairo-pdf

2007-06-09 Thread Owen Taylor
On Sat, 2007-06-09 at 15:28 +, rahed wrote: > Carl Worth <[EMAIL PROTECTED]> writes: > > > You should be able to look at config.log to see details on why the > > header files aren't being found, (it's probably looking in the wrong > > place). > > You're right, I looked there and consequently

Re: gtk+ configure can't find cairo-pdf

2007-06-09 Thread rahed
Carl Worth <[EMAIL PROTECTED]> writes: > You should be able to look at config.log to see details on why the > header files aren't being found, (it's probably looking in the wrong > place). You're right, I looked there and consequently asked about it in mingw.user group because am not sure if it's

Re: gtk+ configure can't find cairo-pdf

2007-06-09 Thread Carl Worth
On Fri, 08 Jun 2007 21:15:34 +, rahed wrote: > checking cairo-pdf.h usability... no > checking cairo-pdf.h presence... no > checking for cairo-pdf.h... no > configure: error: > *** Can't find cairo-pdf.h. You must build Cairo with the pdf > *** backend enabled. You should be able to look at co

gtk+ configure can't find cairo-pdf

2007-06-09 Thread rahed
Hello, I build gtk+-2.11.2 with MinGW and MSYS on windows. Last lines of configure output read as follows: checking cairo-pdf.h usability... no checking cairo-pdf.h presence... no checking for cairo-pdf.h... no configure: error: *** Can't find cairo-pdf.h. You must build Cairo wi