Mercurial > projects > dwt-linux
changeset 147:4a1b8869428e
error description
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Wed, 23 Jan 2008 18:40:53 +0100 |
parents | a3471c255cd2 |
children | ee9953d47114 |
files | dwtexamples/controlexample/CustomControlExample.d |
diffstat | 1 files changed, 3 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/dwtexamples/controlexample/CustomControlExample.d Wed Jan 23 18:36:34 2008 +0100 +++ b/dwtexamples/controlexample/CustomControlExample.d Wed Jan 23 18:40:53 2008 +0100 @@ -31,6 +31,9 @@ version( CUSTOM_CONTROL_EXAMPLE_MAIN ){ void main(){ Stdout.formatln( "The CustomControlExample: still work left" ); + Stdout.formatln( "warning in Control:setBounds() line=695 gtk_widget_size_allocate()" ); + Stdout.formatln( "Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -5 and height 15" ); + Stdout.formatln( "for the CTabFolder widget. Params are OK. Further bugtracking needed." ); Stdout.formatln( "please report problems" ); CustomControlExample.main( null ); } @@ -65,15 +68,10 @@ * Invokes as a standalone program. */ public static void main(char[][] args) { - Stdout.formatln( "{}", __LINE__ ); Display display = new Display(); - Stdout.formatln( "{}", __LINE__ ); Shell shell = new Shell(display); - Stdout.formatln( "{}", __LINE__ ); shell.setLayout(new FillLayout()); - Stdout.formatln( "{}", __LINE__ ); CustomControlExample instance = new CustomControlExample(shell); - Stdout.formatln( "{}", __LINE__ ); shell.setText(getResourceString("custom.window.title")); setShellSize(instance, shell); shell.open();