Re: menuitem confusion

On Sat, Jun 30, 2012 at 5:42 AM, Torsten Schoenfeld <kaffeetisch gmx de> wrote:
On 30.06.2012 01:40, Kevin Ryde wrote:

Torsten Schoenfeld <kaffeetisch gmx de> writes:

Yeah, just Gtk3::RadioMenuItem.

And here I thought this would be easy.  A simple version of my
approach was going to be

sub Gtk3::RadioMenuItem::new {
        my ($class, $group) = @_;

        return Glib::Object::new( $class, group => $group );

This returns
( Gtk-CRITICAL **:
gtk_radio_menu_item_get_group: assertion `GTK_IS_RADIO_MENU_ITEM
(radio_menu_item)' failed

Data::Dumper says it is though:
$VAR1 = bless( {}, 'Gtk3::RadioMenuItem' );

Dave M

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]