[Bug 39761] New: Add (skip) annotation on tp_foo_new()
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Aug 2 15:17:46 CEST 2011
https://bugs.freedesktop.org/show_bug.cgi?id=39761
Summary: Add (skip) annotation on tp_foo_new()
Product: Telepathy
Version: unspecified
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: tp-glib
AssignedTo: telepathy-bugs at lists.freedesktop.org
ReportedBy: xclaesse at gmail.com
QAContact: telepathy-bugs at lists.freedesktop.org
C constructors tp_foo_new() should be pure wrapper arround g_object_new()
setting properties. They are confusing in other languages like python where you
create your objects with factory = TelepathyGLib.SimpleClientFactory(dbus=bus)
instead of factory = TelepathyGLib.SimpleClientFactory.new(dbus) for example.
That way pygobject will call g_object_new() itself.
--
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