Enlightenment CVS committal
Author : doursse
Project : e17
Module : proto
Dir : e17/proto/etk/src/lib
Modified Files:
etk_spin_button.c
Log Message:
warnings--
===================================================================
RCS file: /cvsroot/enlightenment/e17/proto/etk/src/lib/etk_spin_button.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- etk_spin_button.c 8 Feb 2006 12:49:38 -0000 1.1
+++ etk_spin_button.c 13 Feb 2006 23:30:56 -0000 1.2
@@ -3,7 +3,9 @@
#include "etk_signal.h"
#include "etk_signal_callback.h"
#include "etk_utils.h"
+#include <Edje.h>
#include <stdlib.h>
+#include <string.h>
#define is_digit(ch) (((ch)>=(unsigned)'0'&&(ch)<=(unsigned)'9')?1:0)
@@ -102,7 +104,7 @@
/* FIXME: etk_entry should support an "empty" string so we dont have to set it
to " " */
static char *
-_etk_spin_button_str_to_num(char *str, Etk_Bool *changed)
+_etk_spin_button_str_to_num(const char *str, Etk_Bool *changed)
{
int i, j = 0;
int found_dot = 0;
@@ -166,7 +168,7 @@
static void _etk_spin_button_text_changed_cb(Etk_Object *object, void *data)
{
Etk_Spin_Button *spin_button;
- char *text;
+ const char *text;
char *text2;
Etk_Bool changed;
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs