Re: another memory leak

2008-10-31 Thread Alexander Semenov
Jacques Le Normand wrote: Hello list, thank you for helping me to solve my previous post, which found that I had a memory leak. The solution was to remove uim (universal input method). I have a new memory leak problem. This one creates and removes 2000 text entries every 100ms. I've had top sh

Re: API for putting close buttons on tabs (proposal)

2008-06-27 Thread Alexander Semenov
nt position); Are you agreed with this API (considering my comments)? -------- Alexander Semenov<[EMAIL PROTECTED]> ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list

Re: API for putting close buttons on tabs (proposal)

2008-06-27 Thread Alexander Semenov
Alexander Semenov wrote: Hi all. I think that GtkNotebook API is missing methods for putting close buttons on tabs. Different implementations of this task look different and sometime ugly. It could be cool to add methods such as "gtk_notebook_tab_s(g)et_close_button_visible (...)&qu

Re: API for putting close buttons on tabs (proposal)

2008-06-27 Thread Alexander Semenov
Christian Dywan wrote: Am Fri, 27 Jun 2008 11:52:42 +0200 schrieb Carlos Garnacho<[EMAIL PROTECTED]>: Hi!, On jue, 2008-06-26 at 17:38 +0200, Sebastian Rittau wrote: On Thu, Jun 26, 2008 at 04:00:26PM +0300, Alexander Semenov wrote: I think that GtkNotebook API is m

API for putting close buttons on tabs (proposal)

2008-06-26 Thread Alexander Semenov
t does the community think about this? Alexander Semenov <[EMAIL PROTECTED]> ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list

Re: g_strsplit variant which filters empty strings from the result

2008-04-10 Thread Alexander Semenov
Hi again. :) On Thu, 2008-04-10 at 15:13 -0400, Morten Welinder wrote: > Do you have a case where it would actually make sense to use such > as function? The file name case is an awful one: > > 1. It's unix-specific. On win32 you can see /foo/bar\baz\bof What do you mean unix special? There is

g_strsplit variant which filters empty strings from the result

2008-04-10 Thread Alexander Semenov
Hi all. I've needed g_strsplit function version which filters empty strings from result. For example I'd like g_strsplit ("/any//path", "/", 0) return {"any", "path"} but not {"", "any", "", "path"}. I didn't find such function variant so I slightly modified Glib' g_strsplit. Here is the result: