Re: Gtk2::Ex::WYSIWYG





--- On Wed, 5/19/10, Jeffrey Ratcliffe <jeffrey ratcliffe gmail com> wrote:

From: Jeffrey Ratcliffe <jeffrey ratcliffe gmail com>
Subject: Re: Gtk2::Ex::WYSIWYG
To: "Matthew Braid" <ptkperl mdb id au>
Cc: "gtk-perl-list gnome org List" <gtk-perl-list gnome org>
Date: Wednesday, May 19, 2010, 2:45 AM
On 13 May 2010 06:57, Matthew Braid
<ptkperl mdb id au>
wrote:

[snip]


Assuming it is at least partially ok, I'll probably
put it up on CPAN too.

Absolutely.

Anyway, I hope someone finds this useful at some
point. It is

Definitely.

Thanks for sharing!

Some warning messages. With

#!/usr/bin/perl

use warnings;
use strict;
use lib 'Gtk2-Ex-WYSIWYG';
use Gtk2::Ex::WYSIWYG;
use Gtk2 -init;

my $window = Gtk2::Window -> new;
$window -> signal_connect ( 'delete-event' => sub {
Gtk2 -> main_quit } );
my $main_vbox = Gtk2::VBox -> new;
$window -> add ( $main_vbox );
my $edit = Gtk2::Ex::WYSIWYG->new(undo_stack => 0);
$main_vbox -> add ( $edit );
$window -> show_all;
Gtk2 -> main;

I am getting

GLib-GObject-WARNING **: invalid (NULL) pointer instance
at
Gtk2-Ex-WYSIWYG/Gtk2/Ex/WYSIWYG.pm line 536.
GLib-GObject-CRITICAL **: g_signal_connect_data: assertion
`G_TYPE_CHECK_INSTANCE (instance)' failed at
Gtk2-Ex-WYSIWYG/Gtk2/Ex/WYSIWYG.pm line 536.
GLib-GObject-WARNING **: invalid (NULL) pointer instance
at
Gtk2-Ex-WYSIWYG/Gtk2/Ex/WYSIWYG.pm line 540.
GLib-GObject-CRITICAL **: g_signal_connect_data: assertion
`G_TYPE_CHECK_INSTANCE (instance)' failed at
Gtk2-Ex-WYSIWYG/Gtk2/Ex/WYSIWYG.pm line 540.

Regards

Jeff

I don't think it's worth putting up a module on CPAN with such warning and
error messages.

Regards,
  Sergei.




      



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