Re: [PATCH] Some fixes for trunk

2007-08-08 Thread Tambet Ingo
On 8/8/07, Helmut Schaa <[EMAIL PROTECTED]> wrote: > Am Mittwoch, 8. August 2007 14:22:10 schrieben Sie: > > g_object_class_install_property (object_class, PROP_STRENGTH, > > g_param_spec_int (...)) > > Exactly ;-) > > I was at the same point yesterday but could not find a way to specify an > int8-

Re: [PATCH] Some fixes for trunk

2007-08-08 Thread Helmut Schaa
Am Mittwoch, 8. August 2007 14:22:10 schrieben Sie: > On 8/8/07, Helmut Schaa <[EMAIL PROTECTED]> wrote: > > Am Mittwoch, 8. August 2007 14:02:22 schrieb Tambet Ingo: > > > ... which calls NetworkManagerAP.c:set_property() for actual > > > assignment. > > > > ... which only sets a GValue but does n

Re: [PATCH] Some fixes for trunk

2007-08-08 Thread Tambet Ingo
On 8/8/07, Helmut Schaa <[EMAIL PROTECTED]> wrote: > Am Mittwoch, 8. August 2007 14:02:22 schrieb Tambet Ingo: > > ... which calls NetworkManagerAP.c:set_property() for actual assignment. > > ... which only sets a GValue but does not copy the raw data over. > I think that does glib again :) Yes, a

Re: [PATCH] Some fixes for trunk

2007-08-08 Thread Helmut Schaa
Am Mittwoch, 8. August 2007 14:02:22 schrieb Tambet Ingo: > On 8/8/07, Helmut Schaa <[EMAIL PROTECTED]> wrote: > > Am Mittwoch, 8. August 2007 12:39:01 schrieb Tambet Ingo: > > > Nice catch. The proper fix would be to not write 4 bytes to that > > > pointer though, I'll commit a fix for that instea

Re: [PATCH] Some fixes for trunk

2007-08-08 Thread Tambet Ingo
On 8/8/07, Helmut Schaa <[EMAIL PROTECTED]> wrote: > Am Mittwoch, 8. August 2007 12:39:01 schrieb Tambet Ingo: > > Nice catch. The proper fix would be to not write 4 bytes to that > > pointer though, I'll commit a fix for that instead. > > Indeed, but g_object_get is a glib function ;-) ... which

Re: [PATCH] Some fixes for trunk

2007-08-08 Thread Helmut Schaa
Am Mittwoch, 8. August 2007 12:39:01 schrieb Tambet Ingo: > > 1) allow_linking_with_cpp.patch: > > As the filename indicates this patch adds support for using libnm_util > > and libnm_glib from within C++. > > I'll replace these with G_BEGIN_DECLS / G_END_DECLS (macros that > expand to exactly the

Re: [PATCH] Some fixes for trunk

2007-08-08 Thread Tambet Ingo
Hey, On 8/7/07, Helmut Schaa <[EMAIL PROTECTED]> wrote: > while porting KNetworkManager to NM 0.7 I found a few issues which need fixing > in NM. Attached are three patches which apply cleanly against trunk. > > 1) allow_linking_with_cpp.patch: > As the filename indicates this patch adds support f

[PATCH] Some fixes for trunk

2007-08-07 Thread Helmut Schaa
Hi, while porting KNetworkManager to NM 0.7 I found a few issues which need fixing in NM. Attached are three patches which apply cleanly against trunk. 1) allow_linking_with_cpp.patch: As the filename indicates this patch adds support for using libnm_util and libnm_glib from within C++. 2) fix