Bug 44965

Summary: GVariant warnings out of packagekit-glib
Product: PackageKit Reporter: Matthias Clasen <mclasen>
Component: client-libraryAssignee: Richard Hughes <richard>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: patch

Description Matthias Clasen 2012-01-19 20:57:21 UTC
Created attachment 55819 [details] [review]
patch

I'm seeing a bunch of 

(gnome-settings-daemon:13241): GLib-CRITICAL **: g_variant_new_string: assertion `string != NULL' failed

when starting gnome-settings-daemon

NULL is not a valid string, as far as GLib is concerned. Attaching a patch, but you should probably audit your gdbus port in general for NULL strings.
Comment 1 Richard Hughes 2012-01-20 02:04:23 UTC
Committed, thanks. I've also fixed up two other places where this could be a problem and reviewed all of PkClient and PkControl.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.