That is the problem. I free once but sometimes the regex is runned twice.
Thanks for a lot!
At 2012-03-07 02:46:21,"Nicola Fontana" wrote:
>Il giorno Fri, 2 Mar 2012 11:00:46 +0800 (CST)
>"Xi Yang" ha scritto:
>
>> Hi, everyone!
>>
>>
>> I use Glib's regular expression in a cycle, and find
Osmo Antero wrote:
> Adding rows to a combo box with a GtkListStore is immensely slow.
> Is it right that adding 500 rows can take upto 10 seconds and the GUI freezes?
I have similar hardware but with the NVIDIA driver so it only freezes
for about 2 seconds on my system.
[snip]
> What is your opi
Hello,
Adding rows to a combo box with a GtkListStore is immensely slow.
Is it right that adding 500 rows can take upto 10 seconds and the GUI freezes?
I have also tested gtk_combo_box_text_new_with_entry() and it is equally slow.
Here is a complete test code based on gtk 3.0:
http://www.futurede
Thanks ... its working!
On Thu, 2012-05-24 at 19:19 +0200, David Nečas wrote:
> On Thu, May 24, 2012 at 10:37:01PM +0530, Rudra Banerjee wrote:
> > $ gcc curlgtk.c -o cpan `pkg-config --cflags gtk+-2.0` `pkg-config
> > --libs libcurl gtk+-2.0`
> > /usr/bin/ld: /tmp/ccZN7P8Q.o: undefined reference
On Thu, May 24, 2012 at 10:37:01PM +0530, Rudra Banerjee wrote:
> $ gcc curlgtk.c -o cpan `pkg-config --cflags gtk+-2.0` `pkg-config
> --libs libcurl gtk+-2.0`
> /usr/bin/ld: /tmp/ccZN7P8Q.o: undefined reference to symbol
> 'g_thread_init'
If you use gthread you must link with it. Simple. Use
Friends,
Please check the program:
#include
#include
#include
#include
GtkWidget *Bar;
size_t my_write_func(void *ptr, size_t size, size_t nmemb, FILE *stream)
{
return fwrite(ptr, size, nmemb, stream);
}
size_t my_read_func(void *ptr, size_t size, size_t nmemb, FILE *stream)
{
return f