Enlightenment CVS committal
Author : kwo
Project : e17
Module : libs/ecore
Dir : e17/libs/ecore/src/lib/ecore_x
Modified Files:
Ecore_X.h ecore_x_window_prop.c
Log Message:
Fix prototype.
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_x/Ecore_X.h,v
retrieving revision 1.97
retrieving revision 1.98
diff -u -3 -r1.97 -r1.98
--- Ecore_X.h 2 Mar 2005 07:06:42 -0000 1.97
+++ Ecore_X.h 9 Mar 2005 23:11:47 -0000 1.98
@@ -872,7 +872,7 @@
unsigned int *val, unsigned int len);
EAPI void ecore_x_window_prop_property_del(Ecore_X_Window win,
Ecore_X_Atom property);
EAPI void ecore_x_window_prop_property_notify(Ecore_X_Window win,
const char *type, long *data);
-EAPI void ecore_x_window_prop_string_set(Ecore_X_Window win,
Ecore_X_Atom type, char *str);
+EAPI void ecore_x_window_prop_string_set(Ecore_X_Window win,
Ecore_X_Atom type, const char *str);
EAPI char *ecore_x_window_prop_string_get(Ecore_X_Window win,
Ecore_X_Atom type);
EAPI void ecore_x_window_prop_title_set(Ecore_X_Window win, const
char *t);
EAPI char *ecore_x_window_prop_title_get(Ecore_X_Window win);
===================================================================
RCS file:
/cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_x/ecore_x_window_prop.c,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -3 -r1.61 -r1.62
--- ecore_x_window_prop.c 2 Mar 2005 07:06:44 -0000 1.61
+++ ecore_x_window_prop.c 9 Mar 2005 23:11:49 -0000 1.62
@@ -157,12 +157,12 @@
* Set a window string property
*/
void
-ecore_x_window_prop_string_set(Ecore_X_Window win, Ecore_X_Atom type, char
*str)
+ecore_x_window_prop_string_set(Ecore_X_Window win, Ecore_X_Atom type, const
char *str)
{
XTextProperty xtp;
if (win == 0) win = DefaultRootWindow(_ecore_x_disp);
- xtp.value = str;
+ xtp.value = (char*)str;
xtp.format = 8;
xtp.encoding = ECORE_X_ATOM_UTF8_STRING;
xtp.nitems = strlen(str);
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs