Enlightenment CVS committal
Author : kwo
Project : e17
Module : libs/ecore
Dir : e17/libs/ecore/src/lib/ecore_x
Modified Files:
ecore_x.c ecore_x_dnd.c ecore_x_events.c
Log Message:
Trivial fixes to avoid compiler warnings.
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_x/ecore_x.c,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -3 -r1.50 -r1.51
--- ecore_x.c 24 Nov 2004 07:27:57 -0000 1.50
+++ ecore_x.c 29 Nov 2004 22:26:33 -0000 1.51
@@ -888,7 +888,7 @@
* @return Associated atom value.
*/
Ecore_X_Atom
-ecore_x_atom_get(char *name)
+ecore_x_atom_get(const char *name)
{
if (!_ecore_x_disp) return 0;
return XInternAtom(_ecore_x_disp, name, False);
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_x/ecore_x_dnd.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -3 -r1.10 -r1.11
--- ecore_x_dnd.c 23 Nov 2004 15:17:55 -0000 1.10
+++ ecore_x_dnd.c 29 Nov 2004 22:26:37 -0000 1.11
@@ -241,6 +241,7 @@
_xdnd->dest = win;
}
+#if 0 /* Unused? */
void
_ecore_x_dnd_send_finished(void)
{
@@ -263,4 +264,4 @@
return (!XSetSelectionOwner(_ecore_x_disp, _ecore_x_atom_selection_xdnd,
_xdnd->source, CurrentTime));
}
-
+#endif
===================================================================
RCS file:
/cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_x/ecore_x_events.c,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -3 -r1.37 -r1.38
--- ecore_x_events.c 23 Nov 2004 15:17:55 -0000 1.37
+++ ecore_x_events.c 29 Nov 2004 22:26:37 -0000 1.38
@@ -6,12 +6,14 @@
#include "ecore_x_private.h"
#include "Ecore_X.h"
+#if 0
static void _ecore_x_event_free_window_prop_name_class_change(void *data, void
*ev);
static void _ecore_x_event_free_window_prop_title_change(void *data, void *ev);
static void _ecore_x_event_free_window_prop_visible_title_change(void *data,
void *ev);
static void _ecore_x_event_free_window_prop_icon_name_change(void *data, void
*ev);
static void _ecore_x_event_free_window_prop_visible_icon_name_change(void
*data, void *ev);
static void _ecore_x_event_free_window_prop_client_machine_change(void *data,
void *ev);
+#endif
static void _ecore_x_event_free_key_down(void *data, void *ev);
static void _ecore_x_event_free_key_up(void *data, void *ev);
@@ -45,6 +47,7 @@
XChangeWindowAttributes(_ecore_x_disp, w, CWEventMask, &s_attr);
}
+#if 0
static void
_ecore_x_event_free_window_prop_name_class_change(void *data, void *ev)
{
@@ -105,6 +108,7 @@
if (e->name) free(e->name);
free(e);
}
+#endif
static void
_ecore_x_event_free_key_down(void *data, void *ev)
-------------------------------------------------------
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://productguide.itmanagersjournal.com/
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs