Enlightenment CVS committal

Author  : handyande
Project : misc
Module  : engage

Dir     : misc/engage/src/module


Modified Files:
        tray.c 


Log Message:
tidy
===================================================================
RCS file: /cvsroot/enlightenment/misc/engage/src/module/tray.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- tray.c      12 Jun 2005 15:32:15 -0000      1.3
+++ tray.c      12 Jun 2005 16:11:56 -0000      1.4
@@ -83,15 +83,11 @@
 static void
 _engage_tray_add(Engage_Bar *eb, Ecore_X_Window win) {
 
-  Display *display;
-
-  display = ecore_x_display_get();
-    
   /* we want to insert at the end, so as not to move all icons on each add */
   eb->tray->wins = evas_list_append(eb->tray->wins, (void *)win);
   eb->tray->icons++;
   ecore_x_window_resize(win, 24, 24);
-  XReparentWindow (display, win, eb->tray->win, 0, 0);
+  ecore_x_window_reparent(win, eb->tray->win, 0, 0);
 
   ecore_x_window_show(win);
 
@@ -173,7 +169,6 @@
 static void
 _engage_tray_layout(Engage_Bar *eb)
 {
-   Display *display;
    Evas_Coord w, h;
    int x, y;
    Evas_List *wins;
@@ -184,7 +179,6 @@
    w = eb->tray->icons * 24;
    evas_object_resize(eb->tray->tray, w, h);
    
-   display = ecore_x_display_get();
    x = 0;
    y = 0;
    for (wins = eb->tray->wins; wins; wins = wins->next)




-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to