Enlightenment CVS committal

Author  : lok
Project : e17
Module  : apps/emphasis

Dir     : e17/apps/emphasis/src/bin


Modified Files:
        emphasis_callbacks.c emphasis_misc.c 


Log Message:
Small bugfix when double click on a playlist file.

===================================================================
RCS file: /cvs/e/e17/apps/emphasis/src/bin/emphasis_callbacks.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -3 -r1.17 -r1.18
--- emphasis_callbacks.c        16 Jan 2007 03:33:39 -0000      1.17
+++ emphasis_callbacks.c        16 Jan 2007 08:56:06 -0000      1.18
@@ -1142,7 +1142,7 @@
   player = data;
   col = etk_tree2_nth_col_get(ETK_TREE2(player->media.pls_list), 0);
   row = etk_tree2_selected_row_get(ETK_TREE2(player->media.pls_list));
-  etk_tree2_row_fields_get(row, col, &playlist_name, NULL);
+  etk_tree2_row_fields_get(row, ETK_FALSE, col, &playlist_name, NULL);
 
   mpc_playlist_clear();
   etk_tree2_multiple_select_set(ETK_TREE2(player->media.pls_content), 
ETK_TRUE);
===================================================================
RCS file: /cvs/e/e17/apps/emphasis/src/bin/emphasis_misc.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- emphasis_misc.c     16 Jan 2007 03:33:39 -0000      1.6
+++ emphasis_misc.c     16 Jan 2007 08:56:06 -0000      1.7
@@ -44,9 +44,9 @@
     {
       row = evas_list_data(rowlist);
 
-      data = malloc(sizeof(Emphasis_Data));
+      data = calloc(1, sizeof(Emphasis_Data));
       data->type = MPD_DATA_TYPE_SONG;
-      data->song = malloc(sizeof(Emphasis_Song));
+      data->song = calloc(1, sizeof(Emphasis_Song));
       data->song->file = strdup(etk_tree2_row_data_get(row));
 
       list = evas_list_append(list, data);



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to