Enlightenment CVS committal
Author : rbdpngn
Project : e17
Module : libs/ewl
Dir : e17/libs/ewl/src
Modified Files:
ewl_menu.c
Log Message:
And it would be good if we actually compile.
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/ewl_menu.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- ewl_menu.c 5 Sep 2003 15:17:37 -0000 1.9
+++ ewl_menu.c 5 Sep 2003 15:36:21 -0000 1.10
@@ -84,9 +84,9 @@
* initializing the rest of the fields to avoid the add callback being
* called.
*/
- menu->popup = ewl_window_new();
- ewl_window_set_borderless(EWL_WINDOW(menu->popup));
- ewl_object_set_fill_policy(EWL_OBJECT(menu->popup),
+ menu->base.popup = ewl_window_new();
+ ewl_window_set_borderless(EWL_WINDOW(menu->base.popup));
+ ewl_object_set_fill_policy(EWL_OBJECT(menu->base.popup),
EWL_FILL_POLICY_NONE);
/* FIXME: We will need a real function for doing this from the embed
@@ -104,11 +104,11 @@
x += CURRENT_X(w);
y += CURRENT_Y(w) + CURRENT_H(w);
- ewl_object_set_minimum_size(EWL_OBJECT(menu->popup),
+ ewl_object_set_minimum_size(EWL_OBJECT(menu->base.popup),
CURRENT_W(menu),
- MINIMUM_H(menu->popup));
+ MINIMUM_H(menu->base.popup));
}
- ewl_widget_realize(EWL_WIDGET(menu->popup));
- ewl_window_move(EWL_WINDOW(menu->popup), x, y);
+ ewl_widget_realize(EWL_WIDGET(menu->base.popup));
+ ewl_window_move(EWL_WINDOW(menu->base.popup), x, y);
}
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs