Bug 17797

Summary: add support for 'g' type, as a boxed char *
Product: dbus Reporter: Robert McQueen <robert>
Component: GLibAssignee: Robert McQueen <robert>
Status: RESOLVED FIXED QA Contact: John (J5) Palmieri <johnp>
Severity: normal    
Priority: medium CC: ross, walters
Version: unspecifiedKeywords: patch
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Bug Depends on:    
Bug Blocks: 17798    
Attachments: add support for 'g' type, as a boxed char *

Description Robert McQueen 2008-09-26 09:02:34 UTC
Adds DBUS_G_TYPE_SIGNATURE, which is a boxed type just like
DBUS_G_TYPE_OBJECT_PATH.
Comment 1 Robert McQueen 2008-09-26 09:10:28 UTC
Created attachment 19244 [details] [review]
add support for 'g' type, as a boxed char *
Comment 2 Colin Walters 2008-09-30 08:42:19 UTC
Instead of:
+  g_value_set_boxed_take_ownership (value, g_strdup (sig));

You can just write:

g_value_set_boxed (value, sig);

which seems like less of a dance.

Otherwise looks good, please apply.
Comment 3 Robert McQueen 2008-11-28 19:23:52 UTC
Fixed _take_ownership/g_strdup in this and the boxed object path where I copy/pasted the code from. Merged. :)
Comment 4 Simon McVittie 2011-04-14 04:34:49 UTC
*** Bug 6069 has been marked as a duplicate of this bug. ***

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.