Emmanuele Bassi
54cc43630d
Rename the generated private data getter function
...
As it turns out, we have examples of internal functions called
type_name_get_private() in the wild (especially among older libraries),
so we need to use a name for the per-instance private data getter
function that hopefully won't conflict with anything.
2013-06-24 15:43:04 +01:00
Emmanuele Bassi
32747def4b
gio: Use the new private instance data declaration
...
Use the newly added macros, and remove the explicit calls to
g_type_class_add_private().
https://bugzilla.gnome.org/show_bug.cgi?id=700035
2013-06-24 14:18:01 +01:00
Colin Walters
2aa97e2847
gdbus: Fix some compiler warnings
...
Code appears to have been copy/pasted from a bit which used _object,
but I think it's clearer to always use the "self" parameter anyways.
2012-11-15 08:42:36 -05:00
Matthias Clasen
b2ddbd8f55
Plug a minor memory leak in GDBusObjectProxy
...
As pointed out by Patrick Ohly in bug 680505,
GDBusObjectProxy was forgetting to free its object_path.
2012-08-06 11:03:42 -04:00
David Zeuthen
eedb6d8366
GDBusObjectProxy: Don't leak connection
...
Signed-off-by: David Zeuthen <davidz@redhat.com>
2012-04-17 17:51:55 -04:00
Ryan Lortie
5f48e2cde5
GDBus: switch to struct-embedded GMutex and GCond
...
Now that we have those, we should use them.
https://bugzilla.gnome.org/show_bug.cgi?id=660739
2011-10-04 11:13:46 -04:00
David Zeuthen
aabdb7e190
GDBusObject{Proxy,Skeleton}: Prefix properties with g- to avoid collisions
...
Otherwise we might collide with an interface called Connection.
https://bugzilla.gnome.org/show_bug.cgi?id=659699
This is for the same reason that GDBusProxy has its properties
prefixed with g-.
Signed-off-by: David Zeuthen <davidz@redhat.com>
2011-09-21 12:35:40 -04:00
David Zeuthen
fcefc71d59
GDBusObjectProxy: Add locking
...
Signed-off-by: David Zeuthen <davidz@redhat.com>
2011-08-29 15:29:40 -04:00
Matthias Clasen
f4cff2b923
Some documentation additions
2011-05-01 23:02:53 -04:00
David Zeuthen
bbe945183b
gdbus-codegen: Generate GDBusObject{,Proxy,Skeleton} subtypes
...
Signed-off-by: David Zeuthen <davidz@redhat.com>
2011-04-25 09:29:18 -04:00
David Zeuthen
ea742e88e3
GDBus: Add some gobject-introspection annotations for new code
...
Signed-off-by: David Zeuthen <davidz@redhat.com>
2011-04-16 14:42:21 -04:00
David Zeuthen
ac93a6af88
Add "Since: 2.30" for new D-Bus routines
...
Signed-off-by: David Zeuthen <davidz@redhat.com>
2011-04-08 16:29:48 -04:00
David Zeuthen
94b9071344
Start merging gdbus-codegen code
...
Signed-off-by: David Zeuthen <davidz@redhat.com>
2011-04-08 15:48:28 -04:00