g_io_add_watch problem on OSX

2006-11-24 Thread Jacob Ole Juul Kolding
Hello I have at problem with an old linux app I'm porting to OSX. I have gtk installed from darwinports. The app calls g++ using g_spawn_asyns_with_pipes and uses g_io_channels to transfer the output from g++ to a textview. the problem is that the io callback function which i attach to a io

Suppressing command window

2006-11-24 Thread Sai Korada
Hi, I'm developing an application with GTK+ and created a batch file to set the path, launch the application with command line arguments. Even after launching the application the command window still appears, which is by default. My requirement is, once the application is launched, is there a way

Re: Suppressing command window

2006-11-24 Thread Tor Lillqvist
Sai Korada writes: I'm developing an application with GTK+ and created a batch file to set the path, launch the application with command line arguments. ... presumably on Windows? Even after launching the application the command window still appears, which is by default. My requirement

Re: g_object_set_data

2006-11-24 Thread Guillaume Charhon
But it's the same button :'( ! David Nec(as (Yeti) a écrit : On Thu, Nov 23, 2006 at 08:18:42PM +0100, Guillaume Charhon wrote: When I do guint i,j; int test; i = 4; j = 6; g_object_set_data(G_OBJECT(game-pButton[i][j]), position_x, GUINT_TO_POINTER(i)); test =

Re: Pango-1.14.8 released

2006-11-24 Thread Sergei Steshenko
--- Behdad Esfahbod [EMAIL PROTECTED] wrote: On Mon, 2006-11-20 at 22:36 -0800, Sergei Steshenko wrote: FWIW, this version apparently breaks 'make test' of Gtk2-1.141. What _is_ Gtk2-1.141?! This cannot break anything, specially in a gtk+ 2.8 setting that uses pangoxft, no. But file a

Re: g_object_set_data

2006-11-24 Thread Guillaume Charhon
You were right, I've find the problem, the bouton was recreated in an other function. So the first button with the data was erased... Thanks you for your useful help! Guillaume Guillaume Charhon a écrit : I've checked the adresses, they are not the same. The second button is get from a click,

Re: run a new application

2006-11-24 Thread John K Luebs
On Thu, Nov 23, 2006 at 10:23:13PM -0700, Jim George wrote: shell to run the commandline specified. I'm not sure the behavior on Windows, but I imagine it probably uses the windows shell to execute the command line. There is no shell in Windows, and there is no argument parsing of the

Re: run a new application

2006-11-24 Thread Jim George
cmd.exe is surprisingly more powerful than a lot of people realize though I still personally abhor it. -jkl May be so, but you can't do things that you take for granted in Unix, like running multiple commands in sequence with a semicolon. And, as far as I know, the system function in most

Re: run a new application

2006-11-24 Thread Guy Rouillier
Jim George wrote: cmd.exe is surprisingly more powerful than a lot of people realize though I still personally abhor it. -jkl May be so, but you can't do things that you take for granted in Unix, like running multiple commands in sequence with a semicolon. And, as You can string them