From: gnome-perl (bugzilla.gnome.org) <bug...@bu...> - 2009-02-06 15:32:04
|
If you have any questions why you received this email, please see the text at the end of this email. Replies to this email are NOT read, please see the text at the end of this email. You can add comments to this bug at: http://bugzilla.gnome.org/show_bug.cgi?id=570793 gnome-perl | Gtk2 | Ver: unspecified Summary: Make Gtk2::Orientable implementable by Perl subclasses Product: gnome-perl Version: unspecified Platform: Other OS/Version: Linux Status: NEW Severity: enhancement Priority: Normal Component: Gtk2 AssignedTo: gtk...@li... ReportedBy: kaf...@gm... QAContact: gtk...@li... BugsThisDependsOn: 570792 GNOME version: Unspecified GNOME milestone: Unspecified Once support for interface properties has landed in Glib, we can make Gtk2::Orientable implementable. (I'm starting to feel like I'm talking Java with all those "-able"s.) Emmanuel already wrote the _ADD_INTERFACE xsub: =for apidoc __hide__ =cut void _ADD_INTERFACE (class, const char * target_class) CODE: { static const GInterfaceInfo iface_info = { (GInterfaceInitFunc) NULL, (GInterfaceFinalizeFunc) NULL, (gpointer) NULL }; GType gtype = gperl_object_type_from_package (target_class); g_type_add_interface_static (gtype, GTK_TYPE_ORIENTABLE, &iface_info); } -- See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received this email, why you can't respond via email, how to stop receiving emails (or reduce the number you receive), and how to contact someone if you are having problems with the system. You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=570793. |