GIOChannel reference counting

2005-12-12 Thread Richard Warren
Dear all, I would be grateful if anyone could tell me whether I need to unreference a GIOChannel in order to destroy it properly. Here's what I'm currently doing: 1. I create a channel with g_io_channel_unix_new() from a socket. The docs state that the initial reference count will be 1. 2.

Re: win32 compiled exe icon

2005-11-21 Thread Richard Warren
Hello, I'm experimenting with mingw to compile gtk apps on win32. How can icon can be inserted to a gtk win32 exe ? Is there a function that do such thing? If your icon is in a file called "my_icon.ico", create yourself an "rc" file with the following single-line content: 1 ICON "my_icon.i

Re: Re: Problem of gtk2.24 on Soloaris 8 ;

2005-10-19 Thread Richard Warren
- Original Message - From: "chihailong3" <[EMAIL PROTECTED]> Thanks very much for your wonderfull answer! I don't Know why SUN put a lots of invalid soft pakage on their website. Mybe ,they think nobody will download it :) . As indicated in your email : we can download SUN GNOME2.0 deskt

Re: Problem of gtk2.24 on Soloaris 8 ;

2005-10-19 Thread Richard Warren
I downloaded gtk2.2.4 library and dependency developing Toolkits from www.sunfreeware.com . But, there are many errors reported while I compile the example program issued with gtk. I had similar problems when trying to use the sunfreeware.com precompiled packages for sol8-intel a few months

Re: GTK scribble example

2005-05-09 Thread Richard Warren
I'm making a small drawing program with GTK, and I'm having an issue that's also in the "scribble" example tutorial (using this as an example because people would likely know what I'm talking about that way). Anyways, the issue that I'm having is that the program doesn't receive mouse movement even