# HG changeset patch # User Frank Benoit # Date 1201110053 -3600 # Node ID 4a1b8869428ead439a66a86c4d14c4c001e2b8a9 # Parent a3471c255cd218b90e7fa54a16dda966f7497914 error description diff -r a3471c255cd2 -r 4a1b8869428e dwtexamples/controlexample/CustomControlExample.d --- 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();