Enlightenment CVS committal

Author  : englebass
Project : e_modules
Module  : calendar

Dir     : e_modules/calendar


Modified Files:
        e_mod_main.c 


Log Message:
No need to return a value if we never check it.

===================================================================
RCS file: /cvs/e/e_modules/calendar/e_mod_main.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -3 -r1.18 -r1.19
--- e_mod_main.c        3 Jan 2008 00:13:51 -0000       1.18
+++ e_mod_main.c        10 Jan 2008 07:23:21 -0000      1.19
@@ -32,7 +32,7 @@
 static const char *_gc_id_new(void);
 static Config_Item *_config_item_get(const char *id);
 static int _update_date(void *data);
-static int _update_calendar_sheet(Instance *inst);
+static void _update_calendar_sheet(Instance *inst);
 static void _calendar_popup_content_create(Instance *inst);
 static void _calendar_popup_resize(Evas_Object *obj, int *w, int *h);
 static void _calendar_popup_destroy(Instance *inst);
@@ -238,7 +238,7 @@
    return 1;
 }
 
-static int
+static void
 _update_calendar_sheet(Instance *inst)
 {
    Calendar *calendar;
@@ -246,9 +246,9 @@
    time_t current_time;
    struct tm *local_time;
 
-   if (!inst) return 1;
+   if (!inst) return;
    calendar = inst->calendar;
-   if (!calendar) return 1;
+   if (!calendar) return;
 
    current_time = time (NULL);
    local_time = localtime (&current_time);



-------------------------------------------------------------------------
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