Enlightenment CVS committal
Author : barbieri
Project : e17
Module : libs/etk
Dir : e17/libs/etk/src/bin
Modified Files:
etk_combobox_test.c etk_tree_test.c
Log Message:
Fix compiler warnings
===================================================================
RCS file: /cvs/e/e17/libs/etk/src/bin/etk_combobox_test.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -3 -r1.16 -r1.17
--- etk_combobox_test.c 29 Jun 2007 09:14:01 -0000 1.16
+++ etk_combobox_test.c 24 Jul 2007 21:40:16 -0000 1.17
@@ -1,3 +1,4 @@
+#define _GNU_SOURCE
#include "etk_test.h"
#include <stdlib.h>
#include <unistd.h>
@@ -202,7 +203,7 @@
cur_dir = strdup(dir_stripped);
files = ecore_file_ls(dir_stripped);
- ecore_list_sort(files, strcasecmp, 'a');
+ ecore_list_sort(files, (Ecore_Compare_Cb)strcasecmp, 'a');
ecore_list_goto_first(files);
etk_combobox_entry_clear(combobox_entry);
etk_entry_text_set(ETK_ENTRY(etk_combobox_entry_entry_get(combobox_entry)),
@@ -288,7 +289,7 @@
if (!etk_combobox_entry_is_popped_up(combobox))
{
etk_combobox_entry_pop_up(combobox);
- etk_popup_window_focused_window_set(win);
+ etk_popup_window_focused_window_set(ETK_POPUP_WINDOW(win));
}
entry_text = etk_entry_text_get(entry);
@@ -314,7 +315,7 @@
continue;
}
etk_combobox_entry_pop_up(combobox);
- etk_popup_window_focused_window_set(win);
+ etk_popup_window_focused_window_set(ETK_POPUP_WINDOW(win));
if (words)
free(words);
}
===================================================================
RCS file: /cvs/e/e17/libs/etk/src/bin/etk_tree_test.c,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -3 -r1.46 -r1.47
--- etk_tree_test.c 10 Jul 2007 02:30:51 -0000 1.46
+++ etk_tree_test.c 24 Jul 2007 21:40:16 -0000 1.47
@@ -240,6 +240,7 @@
{
Etk_Tree_Col *col = data;
etk_tree_col_sort(col, !(col->tree->sorted_asc));
+ return 0;
}
/* Insert a row sorted in the tree */
@@ -267,4 +268,5 @@
NULL);
etk_tree_row_select(row);
etk_tree_row_scroll_to(row, ETK_TRUE);
+ return 0;
}
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs