Gtk2::ComboBoxEntry error on change

 Hi folks:

 When I select an item at a filled Gtk2::ComboBoxEntry I receive the
following error:

 Gtk-CRITICAL **: gtk_entry_set_text: assertion `text != NULL' failed
at line 144. line 144 is the Gtk2->main; method call.

 I'm using Gtk2::GladeXML to build the window, and the following code
to fill the Gtk2::ComboBoxEntry:

         my $store = Gtk2::ListStore->new('Glib::String');
        foreach my $schedRef ( @{$response->value}) {
                $store->set($store->append, 0, $schedRef->{'JOB_NAME'});

        # renderer
        my $render = Gtk2::CellRendererText->new;
        $cmbJobName->pack_start($render, 0);
        $cmbJobName->set_attributes($render, text => 0);

        # assign list to combo

 It fills correctly, but when I click an item at runtime it returns
the error listed below.

 Does anybody knows what is going on?


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