Enlightenment CVS committal

Author  : rbdpngn
Project : e17
Module  : apps/examine

Dir     : e17/apps/examine/src


Modified Files:
        examine.c exsh.c 


Log Message:
Fix a mismatch in the type of widget used. Also fix some bad free's in exsh.

===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/examine/src/examine.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- examine.c   25 Mar 2004 20:01:31 -0000      1.8
+++ examine.c   14 Apr 2004 13:30:14 -0000      1.9
@@ -195,7 +195,7 @@
       ewl_callback_append(EWL_ENTRY(entries[1])->text,
                           EWL_CALLBACK_VALUE_CHANGED, cb_set_str, prop_item);
     } else
-      entries[1] = ewl_text_new("unknown");
+      entries[1] = ewl_entry_new("unknown");
     prop_item->w = entries[1];
     examine_client_get_val(prop_item->key);
 
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/examine/src/exsh.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -3 -r1.7 -r1.8
--- exsh.c      27 Mar 2004 23:20:31 -0000      1.7
+++ exsh.c      14 Apr 2004 13:30:14 -0000      1.8
@@ -651,8 +651,6 @@
         if (q)
           *q = '\0';
         if (!strcasecmp(p, "exit") || !strcasecmp(p, "quit")) {
-          if (f)
-            free(f);
           break;
         }
 #ifdef HAVE_READLINE_HISTORY
@@ -661,8 +659,6 @@
         ret = parse_line(&server, p);
         if ((ret < ECORE_CONFIG_ERR_SUCC) && (ret != ECORE_CONFIG_ERR_IGNORED))
           printf(ERR "error #%d: \"%s.\"\n", -ret, ecore_config_error(ret));
-        if (f)
-          free(f);
       } else
         break;
     }




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to