Re: [clutter] GtkClutterViewport

2008-11-13 Thread Saul Lethbridge
Once again...thank you. On Thu, Nov 13, 2008 at 10:23 PM, Emmanuele Bassi <[EMAIL PROTECTED]>wrote: > On Thu, 2008-11-13 at 20:46 +1000, Saul Lethbridge wrote: > > Doesn't appear to work! > > you code, no. once I fixed it, it does. > > compile with: > > gcc -Wall \ >`pkg-config --cflags

Re: [clutter] return value of gboolean type

2008-11-13 Thread Owen Taylor
On Thu, 2008-11-13 at 08:43 +, Neil Roberts wrote: > On Thu, 2008-11-13 at 03:29 -0500, Pierre-Luc Beaudoin wrote: > > Le jeudi 13 novembre 2008 à 15:09 +0800, 韦锴 a écrit : > > > CLUTTER_ACTOR_IS_REACTIVE (actor), it is neither TRUE nor FALSE in > > > glib 's definition. > > > > If you look at

Re: [clutter] GtkClutterViewport

2008-11-13 Thread Emmanuele Bassi
On Thu, 2008-11-13 at 20:46 +1000, Saul Lethbridge wrote: > Doesn't appear to work! you code, no. once I fixed it, it does. compile with: gcc -Wall \ `pkg-config --cflags clutter-0.9 clutter-gtk-0.9` \ -o test-viewport \ `pkg-config --libs clutter-0.9 clutter-gtk-0.9` \

Re: [clutter] GtkClutterViewport

2008-11-13 Thread Saul Lethbridge
Doesn't appear to work! #include #include #include int main (int argc, char *argv[]) { ClutterTimeline *timeline; ClutterActor*stage, *viewport, *tex, *tex2, *group; ClutterColor stage_color = { 0x61, 0x64, 0x8c, 0xff }; GtkWidget *window, *embed; GtkWidget *ta

Re: [clutter] return value of gboolean type

2008-11-13 Thread Gwenole Beauchesne
Hi, On Thu, 13 Nov 2008, Pierre-Luc Beaudoin wrote: gboolean exists because there are no booleans in C as in C++. Well, actually, it has been almost 10 years now that a boolean type exists in C. ;-) -- To unsubscribe send a mail to [EMAIL PROTECTED]

Re: [clutter] return value of gboolean type

2008-11-13 Thread Neil Roberts
On Thu, 2008-11-13 at 03:29 -0500, Pierre-Luc Beaudoin wrote: > Le jeudi 13 novembre 2008 à 15:09 +0800, 韦锴 a écrit : > > CLUTTER_ACTOR_IS_REACTIVE (actor), it is neither TRUE nor FALSE in > > glib 's definition. > > If you look at the definition of TRUE, you'll find out that it is > !FALSE, and

Re: [clutter] return value of gboolean type

2008-11-13 Thread Pierre-Luc Beaudoin
Le jeudi 13 novembre 2008 à 15:09 +0800, 韦锴 a écrit : > CLUTTER_ACTOR_IS_REACTIVE (actor), it is neither TRUE nor FALSE in > glib 's definition. If you look at the definition of TRUE, you'll find out that it is !FALSE, and you'll find out that FALSE is 0. Therefore, comparing CLUTTER_ACTOR_IS_REA