diff options
Diffstat (limited to 'contrib/gen-dbus-gobject.pl')
-rwxr-xr-x | contrib/gen-dbus-gobject.pl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/contrib/gen-dbus-gobject.pl b/contrib/gen-dbus-gobject.pl index ae66cf5..fa86326 100755 --- a/contrib/gen-dbus-gobject.pl +++ b/contrib/gen-dbus-gobject.pl @@ -327,8 +327,8 @@ sub generate_source { #include <config.h> #endif -#include <glib.h> #include <string.h> +#include <glib.h> #include "../dbus-common.h" #include "../marshallers.h" @@ -433,6 +433,9 @@ static void {\$object}_init({\$Object} *self) { self->priv = {\$OBJECT}_GET_PRIVATE(self); + /* DBusGProxy init */ + self->priv->dbus_g_proxy = NULL; + {IF_ASYNC_CALLS} /* Async calls init */ {PRIV_ASYNC_CALLS_INIT} |