[Bug 37803] Debug output should include user-readable enum names

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jun 1 10:45:11 CEST 2011


https://bugs.freedesktop.org/show_bug.cgi?id=37803

--- Comment #1 from Simon McVittie <simon.mcvittie at collabora.co.uk> 2011-06-01 01:45:11 PDT ---
I still think generating GEnum from the spec is a bad idea, because:

* expected behaviour for using ((MyThreeItemEnum) 4) is a crash, but we
  shouldn't be remotely-crashable, and we can receive any out-of-range value
  from D-Bus

* dbus-glib doesn't deal with GEnum, only guint, so you still have to use
  an unexpected G_TYPE_UINT

Generating "stringify" functions (tp_foo_to_string()?) would be fine, though.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.



More information about the telepathy-bugs mailing list