Re: PrintOperationPreview doesn't seem right
- From: Murray Cumming <murrayc murrayc com>
- To: Marko Anastasov <marko marko anastasov name>
- Cc: "gtkmm-list gnome org" <gtkmm-list gnome org>
- Subject: Re: PrintOperationPreview doesn't seem right
- Date: Wed, 05 Jul 2006 17:42:55 +0200
On Sun, 2006-07-02 at 18:24 +0200, Marko Anastasov wrote:
> I'm having some difficulties with implementing a custom
> preview dialog as a part of an example, one being related to
> PrintOperationPreview interface. In short, PrintOperation
> has this signal:
>
> bool PrintOperation::on_preview(Gtk::PrintOperationPreview* preview,
> ...)
>
> and preview->gobj() is actually always null (preview itself is not).
>
> Is it mis-wrapped somehow or what?
These conversions seem suspicious:
#m4 _CONVERSION(`GtkPrintOperationPreview*', `PrintOperationPreview*',
`($2)($3)')
#m4 _CONVERSION(`PrintOperationPreview*', `GtkPrintOperationPreview*',
`($2)($3)')
I guess sit should be using wrap() (taking a reference), and gobj().
valgrind might also help.
--
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]