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 ch

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

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 firs

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 #include #include GMainLoop* main_loop = NULL; void signal_handler(int signo) { printf("caught signal %d

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("

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 0x

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 ch