I have a simple gtk# app that has a ScrollWindow
when i pull the window in (shrink size of window to nothing)  and the scrollbar 
in the scrollwindow basicall
disappears and -  the app crashes with:

-----------------------------------------------------------------
QPixmap: Invalid pixmap parameters
QPainter::begin: Cannot paint null pixmap
QPainter::setPen: Will be reset by begin()
QPainter::setBrush: Will be reset by begin()
QPainter::setBrush: Will be reset by begin()
QPainter::setPen: Will be reset by begin()

Unhandled Exception: System.NullReferenceException: Object reference not set to 
an instance of an object
in <0x00000> <unknown method>
in (wrapper managed-to-native) Gtk.Application:gtk_main ()
in <0x00007> Gtk.Application:Run ()
in <0x00fc4> Conn_Chat_Server:Main (System.String[] args)
------------------------------------------------------------------------
Its almost list the gtk# lib knows the scrollbar arrow/slider icons finally 
will no longer be displayed,
but yet qtk# still wanst to work with a pixmap image, that is null?

If i take the ScrollWindow out, I can redurce the app. so it basically 
disappears (no crash)


Now the exact same app runs on gtk# on Win32 runs fine. So this is very 
puzzling.


-tl
_______________________________________________
Gtk-sharp-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Reply via email to