Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_confirm_dialog.c e_editable.h e_entry.c 


Log Message:
Add prototype for func.
Delete objects with e_object_del

===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_confirm_dialog.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- e_confirm_dialog.c  30 Apr 2007 22:23:00 -0000      1.4
+++ e_confirm_dialog.c  1 May 2007 13:41:09 -0000       1.5
@@ -32,8 +32,8 @@
    dia = e_dialog_new(e_container_current_get(e_manager_current_get()), "E", 
"_confirm_dialog");
    if (!dia)
      {
-       E_FREE(cd);
-       return;
+       e_object_del(E_OBJECT(cd));
+       return NULL;
      }
    dia->data = cd;
    cd->dia = dia;
@@ -58,12 +58,8 @@
 static void
 _e_confirm_dialog_free(E_Confirm_Dialog *cd)
 {
-   E_Dialog *dia;
-   E_Win *win;
-
-   dia = cd->dia;
-   win = dia->win;
-   _e_confirm_dialog_delete(win);
+   if ((cd->dia) && (cd->dia->win))
+     _e_confirm_dialog_delete(cd->dia->win);
 }
 
 static void
===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_editable.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- e_editable.h        19 Aug 2006 13:53:32 -0000      1.4
+++ e_editable.h        1 May 2007 13:41:09 -0000       1.5
@@ -35,6 +35,7 @@
 EAPI void         e_editable_selection_move_right    (Evas_Object *editable);
 EAPI void         e_editable_select_all              (Evas_Object *editable);
 EAPI void         e_editable_unselect_all            (Evas_Object *editable);
+EAPI void         e_editable_select_word             (Evas_Object *editable, 
int index);
 EAPI void         e_editable_selection_show          (Evas_Object *editable);
 EAPI void         e_editable_selection_hide          (Evas_Object *editable);
 
===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_entry.c,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -3 -r1.42 -r1.43
--- e_entry.c   22 Apr 2007 17:12:04 -0000      1.42
+++ e_entry.c   1 May 2007 13:41:09 -0000       1.43
@@ -1118,7 +1118,6 @@
    int start_pos, end_pos;
    int selecting;
    char *range;
-   E_Win *win;
 
    sd = data;
    if (!sd->enabled) return;



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to