GIOChannel, how to free?

2007-04-04 Thread Alberto Mardegan
Hi, I hope this is the correct ML to ask something about glib. I'm creating a GIOChannel with g_io_channel_unix_new() and installing it as a source with g_io_add_watch(). Everything works, but I don't know if/how am I suppose to cleanup the things after the file descriptor closes. In the

GTK application slows down with installation of Java updates

2007-04-04 Thread Sai Korada
Hi, We've developed a GUI using GTK. There is a functionality that uses timer in this GUI. Recently I've clicked on the pop-up that appears at bottom-right of the screens, which says new java updates ready to download. I've installed the updates. After that the application got very slow when

Re: GIOChannel, how to free?

2007-04-04 Thread Iain *
On 4/4/07, Alberto Mardegan [EMAIL PROTECTED] wrote: But according to the docs, g_io_channel_unix_new() creates the channel with a reference count set to 1, so I guess we need a g_object_unref() somewhere. http://developer.gnome.org/doc/API/2.0/glib/glib-IO-Channels.html#g-io-channel-unref

Re: GIOChannel, how to free?

2007-04-04 Thread Alberto Mardegan
ext Iain * wrote: http://developer.gnome.org/doc/API/2.0/glib/glib-IO-Channels.html#g-io-channel-unref perhaps? Sure. My question is, how many times (and when) do I have to call it? -- http://www.mardy.it -- Geek in un lingua international!

Re: GIOChannel, how to free?

2007-04-04 Thread Iain *
On 4/4/07, Alberto Mardegan [EMAIL PROTECTED] wrote: ext Iain * wrote: http://developer.gnome.org/doc/API/2.0/glib/glib-IO-Channels.html#g-io-channel-unref perhaps? Sure. My question is, how many times (and when) do I have to call it? Once when you've finished with it iain

Re: GIOChannel, how to free?

2007-04-04 Thread Alberto Mardegan
ext Iain * wrote: On 4/4/07, Alberto Mardegan [EMAIL PROTECTED] wrote: Sure. My question is, how many times (and when) do I have to call it? Once when you've finished with it So I may assume that the flow I wrote in my first mail is correct (apart obviously substituting g_object_unref()

Re: GIOChannel, how to free?

2007-04-04 Thread Chris Vine
On Wednesday 04 April 2007 13:49, Iain * wrote: On 4/4/07, Alberto Mardegan [EMAIL PROTECTED] wrote: ext Iain * wrote: http://developer.gnome.org/doc/API/2.0/glib/glib-IO-Channels.html#g-io- channel-unref perhaps? Sure. My question is, how many times (and when) do I have to call

Re: GIOChannel, how to free?

2007-04-04 Thread Iain *
On 4/4/07, Chris Vine [EMAIL PROTECTED] wrote: Sure. My question is, how many times (and when) do I have to call it? Once when you've finished with it In the context of his original question, that is not right. His original question was whether the callback returning FALSE avoids the

ui manager for menus and tooltips

2007-04-04 Thread Dan McMahill
Hello, Is there a way to enable/disable tooltips for menus created with the ui manager? GtkUIManager *ui; GtkActionGroup *actions; GtkActionEntry *new_entries; ui = gtk_ui_manager_new (); actions = gtk_action_group_new (Actions); /* code that fills in new_entries goes here*/ /*

Fwd: [WEB PATCH] towards making gtk website valid XHTML 1.0 Transitional

2007-04-04 Thread Tshepang Lekhonkhobe
Anyone with some time and commit rights please: -- Forwarded message -- From: Tshepang Lekhonkhobe [EMAIL PROTECTED] Date: Mar 29, 2007 11:02 AM Subject: [WEB PATCH] towards making gtk website valid XHTML 1.0 Transitional To: gtk-devel-list@gnome.org Hi, Here's an incomplete

Re: Fwd: [WEB PATCH] towards making gtk website valid XHTML 1.0 Transitional

2007-04-04 Thread Tim Janik
On Wed, 4 Apr 2007, Tshepang Lekhonkhobe wrote: Anyone with some time and commit rights please: thanks, applied, for the moment it's probably best to CC: me on gtk-web patches. --- ciaoTJ ___ gtk-devel-list mailing list gtk-devel-list@gnome.org

Re: Idea for GSoC 2007 : Shortcuts improvement

2007-04-04 Thread Calum Benson
On Sun, 2007-04-01 at 19:59 -0300, Lucas Mazzardo Veloso wrote: Soon you will be asking your self 'where is the keyboard focus?' As a slightly OT aside, if there are any apps in which you can't tell where the keyboard focus is at any given time, that's a fairly serious accessibility bug.

GooCanvas 0.8 available

2007-04-04 Thread Damon Chaplin
Hi, I've put GooCanvas 0.8 up on sourceforge: http://sourceforge.net/project/showfiles.php?group_id=173653 GooCanvas is a cairo-based canvas widget for GTK+. I want to freeze the API soon, so now is the time to discuss any problems with it. GooCanvas Features: o Optional model/view

Re: WONTFIX-ing Pluggable Widgets Types

2007-04-04 Thread Behdad Esfahbod
One thing I liked about the proposal that is still useful: appointing default implementation for interfaces. That will do the bit for things like filechooser. behdad On Mon, 2007-04-02 at 09:41 -0400, Tim Janik wrote: hi all. some weeks ago i posted two proposals for pluggable widget