Question about gtk_label_set_justify()

2006-07-25 Thread chao yeaj
Hello everyone You knowe ,there is a function called gtk_label_set_justify(),which used to modify the label's text'sjustify mode my code as follow GtkWidget *label = NULL; gtk_label_new( I am label!); gtk_label_set_justify(GTK_LABEL(label),GTK_JUSTIFY_FILL); but ,this do

How to crosscompile Glade-Gtk appl ?

2006-07-25 Thread harshavardhanreddy mandeepala
Hi, I developed an application using Glade and Gtk programming on SUSE .It is ruuning fine on native platform.Now how can i cross compile this application to run on ARM.I installed all cross compiler tools for ARM on my system.Nowwhere should i change to run for ARM in my project.shall i need to

Memory problem in Pango?

2006-07-25 Thread John Coppens
Hi all. I was debugging a program of mine, and when I ran valgrind, I ran across the following (which sounds quite important): ==30953== Address 0x5F73D25 is 141 bytes inside a block of size 1,280 free'd ==30953==at 0x401A2F8: free (m_replacemalloc/vg_replace_malloc.c:233) ==30953==by

Re: Question about gtk_label_set_justify()

2006-07-25 Thread John Coppens
On Tue, 25 Jul 2006 14:46:19 +0800 chao yeaj [EMAIL PROTECTED] wrote: Hello everyone You knowe ,there is a function called gtk_label_set_justify(),which used to modify the label's text'sjustify mode my code as follow GtkWidget *label = NULL; gtk_label_new( I am

how do I plug this glib main loop memory leak?

2006-07-25 Thread Sebastian Kuzminsky
I'm not understanding something about the glib main loop and reference counting. I've got this trivial program that does nothing: - begin - #include signal.h #include stdio.h #include glib.h GMainLoop* main_loop = NULL; void signal_handler(int signo) {

Re: how do I plug this glib main loop memory leak?

2006-07-25 Thread Tristan Van Berkom
Sebastian Kuzminsky wrote: [...] The way I read this, g_main_loop_new() is allocating memory and not freeing it, even though I quit the loop and unref it. Clue in a helpless noob, what's going on here? The way I'm reading that trace, the g_main_loop_new() function when called the first

problem displaying rgb images on window

2006-07-25 Thread sachin kamat
Hi, I am writing an application using GTK+ (version 2.10.0) for x86 pc. Iam decoding an mp4 video stream and displaying the RGB data on the window. This is in a loop. while(!feof(fp)) { decode(); //decodes one frame of mp4 data to yuv format convert_yuv_to_rgb(); //converts one frame of decoded

crosscompiling a Glade-Gtk appl ?

2006-07-25 Thread harshavardhanreddy mandeepala
Hi, I developed an application using Glade and Gtk programming on SUSE .It is ruuning fine on native platform.Now how can i cross compile this application to run on ARM.I installed all cross compiler tools for ARM on my system.Nowwhere should i change to run for ARM in my project.shall i need to

Re: [PATCH] 2.8.17 block cursor

2006-07-25 Thread Pavel Machek
Hi! attached you find a patch that adds block cursor support to 2.8.17. It seems in the summer I cannot see the I cursor at all (too bright environment). I could have closed the curtain, but where would have been the challenge in that? ;) I found cursor_aspect_ratio, which almost does

Re: Treeview Undo

2006-07-25 Thread Douglas A Wolfe
I was actually using the treeview to store the data. It is a small dataset and then writing the data to an xml file...so I was looking to make a generic undo. But I guess I could write a more specific undo for the data I am storing. That would be pretty easy. Thanks for your help. PS.

Re: EggRegex

2006-07-25 Thread Marco Barisione
Marco Barisione wrote: My version of EggRegex is at http://techn.ocracy.org/eggregex/ and a copy of the documentation is at http://www.barisione.org/eggregex/ And a tar.gz generated by make dist is at http://www.barisione.org/eggregex/eggregex-0.1.tar.gz In these days I did some changes,