Enlightenment CVS committal
Author : rbdpngn
Project : e17
Module : libs/ewl
Dir : e17/libs/ewl/test
Modified Files:
ewl_filedialog_test.c
Log Message:
Fix for a possible segv from widget destruction in a callback, documentation
update, and a minor sizing change to the filedialog test.
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/test/ewl_filedialog_test.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -3 -r1.11 -r1.12
--- ewl_filedialog_test.c 10 Dec 2003 02:42:53 -0000 1.11
+++ ewl_filedialog_test.c 10 Dec 2003 21:52:52 -0000 1.12
@@ -35,6 +35,9 @@
fd_button = w;
fd_win = ewl_window_new();
+ ewl_object_request_size(EWL_OBJECT(fd_win), 500, 400);
+ ewl_object_set_fill_policy(EWL_OBJECT(fd_win), EWL_FLAG_FILL_FILL |
+ EWL_FLAG_FILL_SHRINK);
ewl_callback_append(fd_win, EWL_CALLBACK_DELETE_WINDOW,
__destroy_filedialog_test_window, NULL);
ewl_widget_show(fd_win);
@@ -70,7 +73,6 @@
fd = ewl_filedialog_new(w->parent->parent, EWL_FILEDIALOG_TYPE_OPEN,
__open_file);
- ewl_object_set_minimum_size (EWL_OBJECT (w->parent->parent), 500, 400);
ewl_container_append_child(EWL_CONTAINER(vbox), fd);
ewl_widget_show(fd);
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs