Enlightenment CVS committal Author : moom Project : e17 Module : libs/enhance
Dir : e17/libs/enhance/src/lib Modified Files: enhance.c Log Message: Make enhance compile again but... enhance should not access widgets' private members.. that's bad! SPANK! =================================================================== RCS file: /cvs/e/e17/libs/enhance/src/lib/enhance.c,v retrieving revision 1.36 retrieving revision 1.37 diff -u -3 -r1.36 -r1.37 --- enhance.c 30 Dec 2006 14:31:29 -0000 1.36 +++ enhance.c 13 Jan 2007 02:22:38 -0000 1.37 @@ -581,8 +581,11 @@ { IF_PARENT_CLASS("GtkWindow") { + int h; + PROPERTY_INT; - etk_window_resize(ETK_WINDOW(wid->wid), value, ETK_WINDOW(wid->wid)->height); + etk_window_geometry_get(ETK_WINDOW(wid->wid), NULL, NULL, NULL, &h); + etk_window_resize(ETK_WINDOW(wid->wid), value, h); } } @@ -590,8 +593,11 @@ { IF_PARENT_CLASS("GtkWindow") { + int w; + PROPERTY_INT; - etk_window_resize(ETK_WINDOW(wid->wid), ETK_WINDOW(wid->wid)->width, value); + etk_window_geometry_get(ETK_WINDOW(wid->wid), NULL, NULL, &w, NULL); + etk_window_resize(ETK_WINDOW(wid->wid), w, value); } } ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs