Re: some erros -- resolved

2009-01-18 Thread James Scott Jr
Frederico, Your CCLIST dropped the reference to gtk-app-devel-l...@gnome.org. Which will certaily impact who can respond. Here is your example you asked for. Regards, James Scott, Jr. Registered Linux User #270764 /* Sampler.c */ #include static gchar* fn_get_file (GtkWindow *parent, gchar

Re: qt vs gtk

2009-01-18 Thread Stefan Kost
Michael Torrie schrieb: > jvette...@users.sourceforge.net wrote: >> I find that deriving classes in C++ is alot easier than going through >> the GObject type system. > > Yes this is true, in C. GTKmm makes things rather nice if you work in > C++. In fact I kind of like how GTKmm works without a

Re: g_malloc overhead

2009-01-18 Thread Colin Walters
On Sun, Jan 18, 2009 at 11:43 AM, Martín Vales wrote: > > Other overhead i see is the open dir/file funtions, where in windows we need > do the utf8 to utf16 everytime in windows. If JAVA,.NET and Qt use utf16 by > default why in gnome world we use utf8 by default?. Historically, Unix was a late

Re: graphic figures and gtk and gtkprint

2009-01-18 Thread Dov Grobgeld
Actually, if you have postscript, it should be pretty straightforward to convert to cairo as they use the same drawing model. This is also the only way to get proper cross 2009/1/15 Dan McMahill > Hello, > > I have a gtk app I wrote about 12 years ago. I've slowly evolved it. I > have about a

g_malloc overhead

2009-01-18 Thread Martín Vales
hi: I working with visual c++ in Windows and i find glib very useful for many C task, but i am worry about the g_malloc overhead. We really need a new malloc?? gpointer g_malloc (gsize n_bytes) { if (G_UNLIKELY (!g_mem_initialized)) g_mem_init_nomessage(); if (G_LIKELY (n_bytes)) {

Transparent in a panel applet

2009-01-18 Thread Vadim Peretokin
Hi, How can one write pacified text in an applet that's on the gnome panel? Pango only allows RGB colors, and while searching I didn't find too much information on this. One attempted solution was to use cairo to draw the text (code), however that does not work when the