diff options
| author | Ken VanDine <ken.vandine@canonical.com> | 2011-09-29 15:52:47 -0400 |
|---|---|---|
| committer | Ken VanDine <ken.vandine@canonical.com> | 2011-09-29 15:52:47 -0400 |
| commit | c53ad077b3b56443669047e5eb41d36b159bde66 (patch) | |
| tree | 6bb30d954d825dd7d635256735eb0b243e8f8995 /libdbusmenu-glib/server.c | |
| parent | b9a57897d1b62553d16ae44fef08801bfb053360 (diff) | |
| parent | dfccdc31ad648bd5f7e93eca258d2b0e879a6b71 (diff) | |
| download | libdbusmenu-c53ad077b3b56443669047e5eb41d36b159bde66.tar.gz libdbusmenu-c53ad077b3b56443669047e5eb41d36b159bde66.tar.bz2 libdbusmenu-c53ad077b3b56443669047e5eb41d36b159bde66.zip | |
* New upstream release.
* Protect functions against NULL results (LP: #757569, LP: #742909,
LP: #743050, LP: #743661)
Diffstat (limited to 'libdbusmenu-glib/server.c')
| -rw-r--r-- | libdbusmenu-glib/server.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libdbusmenu-glib/server.c b/libdbusmenu-glib/server.c index c7057df..9c085f7 100644 --- a/libdbusmenu-glib/server.c +++ b/libdbusmenu-glib/server.c @@ -1194,7 +1194,9 @@ error_quark (void) static void bus_get_layout (DbusmenuServer * server, GVariant * params, GDBusMethodInvocation * invocation) { + g_return_if_fail(DBUSMENU_IS_SERVER(server)); DbusmenuServerPrivate * priv = DBUSMENU_SERVER_GET_PRIVATE(server); + g_return_if_fail(priv != NULL); /* Input */ gint32 parent; |
