Re: is there a memory leak problem with gtk_widget_queue_draw()?

2007-09-07 Thread Jim George
On 9/6/07, okty <[EMAIL PROTECTED]> wrote: > > Hi, > > I am using GLib's memory profiling to check memory usage of my program. I > noticed that for each refresh in my screen with gtk_widget_queue_draw(), I > am checking my allocated memory and each refresh increases the size of > allocated memory.

Re: is there a memory leak problem with gtk_widget_queue_draw()?

2007-09-07 Thread Fernando Apesteguía
On 9/6/07, okty <[EMAIL PROTECTED]> wrote: > > Hi, > > I am using GLib's memory profiling to check memory usage of my program. I > noticed that for each refresh in my screen with gtk_widget_queue_draw(), I > am checking my allocated memory and each refresh increases the size of > allocated memory.

Re: Conversion functions.

2007-09-07 Thread Magnus Myrefors
On Fri, 7 Sep 2007 16:16:35 +0200 Magnus Myrefors <[EMAIL PROTECTED]> wrote: By the way I have found out that I used a way of reading lines from the input-file which can cause some problem. I read in a book that fgets(string, sizeof(string), input) should read one line up to sizeof(string) -1 or t

Re: Conversion functions.

2007-09-07 Thread Magnus Myrefors
I looked at the code and I as far as I also think that something should be printed to stdout. The only thing I could see in the code was that malloc wasn't used to allocate char *buf in the args to function getline(). Magnus On Fri, 7 Sep 2007 10:08:19 +0200 David Nečas (Yeti) <[EMAIL PROTECTE

is there a memory leak problem with gtk_widget_queue_draw()?

2007-09-07 Thread okty
Hi, I am using GLib's memory profiling to check memory usage of my program. I noticed that for each refresh in my screen with gtk_widget_queue_draw(), I am checking my allocated memory and each refresh increases the size of allocated memory. Do you know any memory leak problem in gtk_widget_queue

Custom cel renderer

2007-09-07 Thread amol
Hi All, I am trying to write custom cell renderer which should be able to display GtkWidgets. But I am not able to get GdkWindow of widget to be displayed since it not displayed or added to any container(not realized yet). I am creating one widget say GtkButton and wanted it to be displayed on cell

could not use GTK+ with Evolution email..

2007-09-07 Thread Ramesh Karnati
Hi, I am trying to build the Evolution email client with directfb patches for cairo and gtk+. The build process fails with the following errors. -- /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libgdk-x11-2.0.so: undefined reference to `cairo_xlib_surface_create_for_bitmap' /usr/lib/gcc/i386-

Re: Conversion functions.

2007-09-07 Thread Yeti
On Fri, Sep 07, 2007 at 01:45:09AM +0200, Magnus Myrefors wrote: > > yeti>> I have tested your minimal testprogram with the whole > test-file. Unfortunately the program doesn't print anything to > stdout. It doesn't seem to be any data stored in the GSList > or in the datastructure, Data *data. I

Re: Scrolledwindow, layout and drawing area

2007-09-07 Thread jcupitt
Hi Federico, On 9/7/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > other widgets (like side panes, menu bar etc.); I need zooming and > panning features, so I went for a scrolled window => layout => > drawingarea. Why do you need the layout? You can just put a drawingarea inside a scrolledwin

Scrolledwindow, layout and drawing area

2007-09-07 Thread [EMAIL PROTECTED]
Hi, I have to draw a picture inside a top level window that has many other widgets (like side panes, menu bar etc.); I need zooming and panning features, so I went for a scrolled window => layout => drawingarea. To achieve zooming I handle the scroll event by scaling the original size pixbu