Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/modules/pager


Modified Files:
        e_mod_main.c 


Log Message:
Fix compiler warnings.

===================================================================
RCS file: /cvs/e/e17/apps/e/src/modules/pager/e_mod_main.c,v
retrieving revision 1.230
retrieving revision 1.231
diff -u -3 -r1.230 -r1.231
--- e_mod_main.c        8 Jan 2008 16:26:14 -0000       1.230
+++ e_mod_main.c        10 Jan 2008 07:40:25 -0000      1.231
@@ -165,8 +165,6 @@
 /* functions for pager popup on key actions */
 static int _pager_popup_show();
 static void _pager_popup_hide(int switch_desk);
-static void _cb_action_pager_popup_show(E_Object *obj, const char *params, 
Ecore_X_Event_Key_Down *ev);
-static void _cb_action_pager_popup_switch(E_Object *obj, const char *params, 
Ecore_X_Event_Key_Down *ev);
 static int _pager_popup_cb_mouse_down(void *data, int type, void *event);
 static int _pager_popup_cb_mouse_up(void *data, int type, void *event);
 static int _pager_popup_cb_mouse_move(void *data, int type, void *event);
@@ -842,8 +840,8 @@
 static E_Config_Dialog *
 _pager_config_dialog(E_Container *con, const char *params)
 {
-   if (!pager_config) return;
-   if (pager_config->config_dialog) return;
+   if (!pager_config) return NULL;
+   if (pager_config->config_dialog) return NULL;
    /* FIXME: pass zone config item */
    _config_pager_module(NULL);
    return pager_config->config_dialog;
@@ -1345,7 +1343,6 @@
    Pager_Popup *pp;
    E_Zone *zone;
    int urgent;
-   int urgent_cnt = 0;
    Pager *p;
    Pager_Desk *pd;
    Pager_Win *pw;
@@ -1562,7 +1559,7 @@
 
    if (pager_config->popup && !act_popup)
      {
-       if (pp = _pager_popup_find(ev->desk->zone))
+       if ((pp = _pager_popup_find(ev->desk->zone)))
          {
             ecore_timer_del(pp->timer);
          }
@@ -1720,7 +1717,6 @@
    E_Drag *drag;
    Evas_Object *o, *oo;
    Evas_Coord x, y, w, h;
-   const char *file = NULL, *part = NULL;
    const char *drag_types[] = { "enlightenment/pager_win", 
"enlightenment/border" };
    Evas_Coord dx, dy;
    unsigned int resist = 0;



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to