diff options
author | Kalev Lember <kalevlember@gmail.com> | 2015-02-23 15:14:12 +0100 |
---|---|---|
committer | Kalev Lember <kalevlember@gmail.com> | 2015-02-23 15:14:12 +0100 |
commit | 02b30047b07c5bb76eeab973bc76c89400e8f375 (patch) | |
tree | 3b4960ce83dcafedbdf13df7a898e40c1b8e2845 /contrib | |
parent | 0b2f0c75df4896ff96f07e5cf63356596f5106b4 (diff) |
gstreamer plugin: Avoid criticals when some of the parameters are NULL
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/gstreamer-plugin/pk-gstreamer-install.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/gstreamer-plugin/pk-gstreamer-install.c b/contrib/gstreamer-plugin/pk-gstreamer-install.c index 4cae3ba8d..f1e9c5fde 100644 --- a/contrib/gstreamer-plugin/pk-gstreamer-install.c +++ b/contrib/gstreamer-plugin/pk-gstreamer-install.c @@ -296,8 +296,8 @@ pk_gst_dbus_install_resources (gchar **resources, const gchar *desktop_id, const "InstallGStreamerResources", g_variant_new ("(^a&sss@a{sv})", resources, - interaction, - desktop_id, + interaction ? interaction : "", + desktop_id ? desktop_id : "", make_platform_data (startup_id)), G_DBUS_CALL_FLAGS_NONE, 60 * 60 * 1000, /* 1 hour */ |