Re: GTK free function doesn't appear to have any affect.

2013-06-16 Thread dE
On 06/16/13 21:35, Chris Vine wrote: On Sun, 16 Jun 2013 12:28:52 +0530 dE wrote: Apart from that, in the free_ptr? Does memory get freed for anyone else? #include #include #define COLS 200 void free_ptr ( GtkListStore * ); int main ( ) { gtk_init( NULL, NULL ); int i, j;

Re: gobject across network

2013-06-16 Thread Emmanuele Bassi
hi; On 16 June 2013 21:32, Tristan Van Berkom wrote: >> if you're doing in on the same machine, then you can use DBus and the >> GDBus facilities in GIO. [0] > > Also, note that GDBus does not have any requirement for usage on the > same system. I know Tristan knows this, but probably is worth

Per-row vertical spacing in GtkTreeView

2013-06-16 Thread Avi
How does one obtain fine-grained control over the vertical spacing between rows in a GtkTreeViewColumn? Obviously, there is the vertical-separator style property for the easy case, when all rows should have the same vertical spacing. But I am unsure how to handle the case of per-row vertical

Re: gobject across network

2013-06-16 Thread Tristan Van Berkom
On Mon, Jun 17, 2013 at 1:38 AM, Emmanuele Bassi wrote: > hi; > > On 16 June 2013 17:24, Andrea Zagli wrote: >> is there a way to send a gobject from a server to a client via network (ex. >> via http or other protocol)? >> >> i want to create a gobject in a daemon in a server and pass it to a cli

Re: gobject across network

2013-06-16 Thread Emmanuele Bassi
hi; On 16 June 2013 17:24, Andrea Zagli wrote: > is there a way to send a gobject from a server to a client via network (ex. > via http or other protocol)? > > i want to create a gobject in a daemon in a server and pass it to a client if you're doing in on the same machine, then you can use DBus

gobject across network

2013-06-16 Thread Andrea Zagli
is there a way to send a gobject from a server to a client via network (ex. via http or other protocol)? i want to create a gobject in a daemon in a server and pass it to a client thanks in advance ___ gtk-app-devel-list mailing list gtk-app-devel-l

Re: GTK free function doesn't appear to have any affect.

2013-06-16 Thread Chris Vine
On Sun, 16 Jun 2013 12:28:52 +0530 dE wrote: > Apart from that, in the free_ptr? Does memory get freed for anyone > else? > > #include > #include > #define COLS 200 > void free_ptr ( GtkListStore * ); > > int main ( ) { > gtk_init( NULL, NULL ); > int i, j; > char *temp; >

Re: Check an GObject

2013-06-16 Thread iri
I see Thanks On 16/06/2013 17:37, Emmanuele Bassi wrote: hi; On 16 June 2013 16:24, iri wrote: I already check myself the received object, by internal methods. But (of course) i'm not sure that there are not any vulnerabilities. Know if this object is -or not- a valid GObject instance was th

Re: Check an GObject

2013-06-16 Thread Emmanuele Bassi
hi; On 16 June 2013 16:24, iri wrote: > I already check myself the received object, by internal methods. But (of > course) i'm not sure that there are not any vulnerabilities. > Know if this object is -or not- a valid GObject instance was the result of > G_IS_OBJECT. Am I wrong ? G_IS_OBJECT, a

Re: Check an GObject

2013-06-16 Thread iri
I'm ok with you say about C. And ok for my bad example ... I already check myself the received object, by internal methods. But (of course) i'm not sure that there are not any vulnerabilities. Know if this object is -or not- a valid GObject instance was the result of G_IS_OBJECT. Am I wrong ?

Re: Check an GObject

2013-06-16 Thread Emmanuele Bassi
hi; On 16 June 2013 15:09, iri wrote: > I develop an application which using GObject and specific derived objects > (in GTK 2.4 or 3.x). > > A module receives a pointer. It should be a GObject or derived but i'm not > sure (I'm not the sender). > So, to avoid bug / corruption / crash, i would ch

Check an GObject

2013-06-16 Thread iri
Hi, I develop an application which using GObject and specific derived objects (in GTK 2.4 or 3.x). A module receives a pointer. It should be a GObject or derived but i'm not sure (I'm not the sender). So, to avoid bug / corruption / crash, i would check the quality of this pointer : GObject

Re: GTK free function doesn't appear to have any affect.

2013-06-16 Thread dE
On 06/16/13 00:40, Allin Cottrell wrote: On Sat, 15 Jun 2013, dE wrote: On 06/15/13 14:24, dE wrote: Yes, I realized that over time, but there appears to be something wrong with g_object_unref or in general all GTK free functions on my system. In this piece of code -- #include #include #