Re: gtk + directfb + live cd

2003-01-04 Thread Sven Neumann
Hi, Ottavio Campana [EMAIL PROTECTED] writes: I've compiled the first example of the tutorial and it crashes. Here's the debug: Starting program: /var/root/helloworld [New Thread 16384 (LWP 242)] -- DirectFB v0.9.15 - (c)

Re: gtk + directfb + live cd

2003-01-04 Thread Ottavio Campana
On Sat, Jan 04, 2003 at 12:00:29PM +0100, Sven Neumann wrote: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 16384 (LWP 242)] 0x40394fdb in MiniXftPatternFind () from /usr/lib/libpangoft2-1.0.so.0 looks as if your setup doesn't provide any fonts. Font

Re: gtk + directfb + live cd

2003-01-04 Thread Sven Neumann
Hi, Ottavio Campana [EMAIL PROTECTED] writes: On Sat, Jan 04, 2003 at 12:00:29PM +0100, Sven Neumann wrote: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 16384 (LWP 242)] 0x40394fdb in MiniXftPatternFind () from /usr/lib/libpangoft2-1.0.so.0 looks as if

Re: gtk + directfb + live cd

2003-01-04 Thread Ottavio Campana
On Sat, Jan 04, 2003 at 06:41:33PM +0100, Sven Neumann wrote: any kind of fonts that FreeType2 can handle. Preferably Truetype fonts. I'd suggest you apt-get msttcorefonts. mmm... something M$-free? This looks strange. Something like this seems more appropriate: ahh... that way... I didn't

how to free the memory malloced?

2003-01-04 Thread Michael Qiu
 Hello everyone: I want to know how to free the malloced memory used in a g_list? here is my code #include stdio.h#include stdlib.h #include glib.h typedef struct{ char buf1[128]; char buf2[128]; char buf3[128];}buf; voidfreenode (gpointer data, gpointer

Problems with fast timeouts

2003-01-04 Thread Krzysztof Dubowik
Hi, I wanted my timeout function to be called 200 times per second. Another words, my timeout function to be called every 5 miliseconds. However, when I mesured the intervals with gettimeofday I found out that the timeout function was called ca every 20ms. My timeout function exectutes within

Re: 04: glib: g_list_free_1 should return -next

2003-01-04 Thread Owen Taylor
Guido Draheim [EMAIL PROTECTED] writes: Owen Taylor wrote: Guido Draheim [EMAIL PROTECTED] writes: Owen Taylor wrote: If you want to make feature enhancment requests, the best procedure is: - File them in bugzilla - (optional) send mail to gtk-devel-list if you think that

Re: jpeg modification

2003-01-04 Thread Saul Simhon
I suggest using client libs such as ImageMagick. I http://www.imagemagick.org/ Saul. - Original Message - From: malo p To: [EMAIL PROTECTED] Sent: Friday, January 03, 2003 9:35 PM Subject: jpeg modification hello everybody, I try to modify the brigthness, the

Re: 04: glib: g_list_free_1 should return -next

2003-01-04 Thread Guido Draheim
Owen Taylor wrote: [..] Basically, the difference is that bug reports _force_ us to act upon them (even it's a question of WONTFIX) while if we read a mailing list post, we may think it's a cool idea, but most likely won't remember it at all when it comes time to work on features for the next

GTK Tree

2003-01-04 Thread malo p
Hi everyone I'm trying to code an explorer of directories and file and i want to do it with a gtk tree. Could someone explain me how it works, and how can i do ? ThanxSeul le silence est grand, tout le reste n'est que faiblesseDo You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !

Re: 04: glib: g_list_free_1 should return -next

2003-01-04 Thread Guido Draheim
Owen Taylor wrote: I don't think this change makes sense though: A) g_list_free_1() doesn't unlink the list node either, so just returning next doesn't do any good. g_list_free_1() simply frees a single list node that is already unlinked. B) g_list_delete_link is exactly what you are

Re: Problems with fast timeouts

2003-01-04 Thread Paul Davis
I wanted my timeout function to be called 200 times per second. Another word s, my timeout function to be called every 5 miliseconds. However, when I mesur ed the intervals with gettimeofday I found out that the timeout function was c alled ca every 20ms. My timeout function exectutes within

Destroy the widget if the other widget is destroyed

2003-01-04 Thread Tamás Safranka
Hi, I've written a file selection function (almost the same like the one in the GTK tutorial). My ok_button_callback tries to open the file and in the case of no succes it gives an error message (almost the same like in tha API reference - GtkDialog). There is a signal (emitted by the file

Correct widget to report results to the user

2003-01-04 Thread Roger Leigh
Hello, I've been working my way through the GTK+ 2.2 tutorial, and I have written a small program, which can be found at: http://www.whinlatter.uklinux.net/gtk/ogcalc.c My question is basically about style. I've used three GtkSpinButtons to enter values in. A calculation is done using these

Re: Correct widget to report results to the user

2003-01-04 Thread Soeren Sandmann
Roger Leigh [EMAIL PROTECTED] writes: Also, I was forced to use global variables due to needing to pass several widgets to the calculation function. Is there any way to avoid this cleanly (i.e. pass them somehow through the callback)? The standard way to do this is to allocate a block of

GtkCombo value || Signals

2003-01-04 Thread MET @ Uber
I'm trying to start a very simple application where basically the user selects an item from a combo box and then it's associated data pops up into two GtkEntry text box's. The data and it's associated information is gathered from a text file during the applications launch. So here's my