Enlightenment CVS committal
Author : rbdpngn
Project : e17
Module : libs/ecore
Dir : e17/libs/ecore/src/lib/ecore_x
Modified Files:
Ecore_X.h ecore_x_window.c ecore_x_window_prop.c
Log Message:
Rmoeved API for changing the WM_CLIENT_MACHINE as this shouldn't change after
window creation (afaik), easy enough to re-add it if a need is found.
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_x/Ecore_X.h,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -3 -r1.10 -r1.11
--- Ecore_X.h 12 Oct 2003 17:35:35 -0000 1.10
+++ Ecore_X.h 13 Oct 2003 16:28:30 -0000 1.11
@@ -536,7 +536,6 @@
char *ecore_x_window_prop_icon_name_get(Ecore_X_Window win);
void ecore_x_window_prop_visible_icon_name_set(Ecore_X_Window win, const
char *t);
char *ecore_x_window_prop_visible_icon_name_get(Ecore_X_Window win);
-void ecore_x_window_prop_client_machine_set(Ecore_X_Window win, const
char *t);
char *ecore_x_window_prop_client_machine_get(Ecore_X_Window win);
void ecore_x_window_prop_name_class_set(Ecore_X_Window win, const char
*n, const char *c);
void ecore_x_window_prop_name_class_get(Ecore_X_Window win, char **n,
char **c);
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_x/ecore_x_window.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- ecore_x_window.c 13 Oct 2003 16:02:41 -0000 1.5
+++ ecore_x_window.c 13 Oct 2003 16:28:30 -0000 1.6
@@ -61,7 +61,8 @@
{
gethostname(buf, MAXHOSTNAMELEN);
buf[MAXHOSTNAMELEN - 1] = '\0';
- ecore_x_window_prop_client_machine_set(win, buf);
+ ecore_x_window_prop_string_set(win, _ecore_x_atom_wm_client_machine,
+ (char *)buf);
}
return win;
}
@@ -125,7 +126,8 @@
{
gethostname(buf, MAXHOSTNAMELEN);
buf[MAXHOSTNAMELEN - 1] = '\0';
- ecore_x_window_prop_client_machine_set(win, buf);
+ ecore_x_window_prop_string_set(win, _ecore_x_atom_wm_client_machine,
+ (char *)buf);
}
return win;
}
@@ -179,7 +181,8 @@
{
gethostname(buf, MAXHOSTNAMELEN);
buf[MAXHOSTNAMELEN - 1] = '\0';
- ecore_x_window_prop_client_machine_set(win, buf);
+ ecore_x_window_prop_string_set(win, _ecore_x_atom_wm_client_machine,
+ (char *)buf);
}
return win;
}
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_x/ecore_x_window_prop.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -3 -r1.11 -r1.12
--- ecore_x_window_prop.c 12 Oct 2003 17:35:35 -0000 1.11
+++ ecore_x_window_prop.c 13 Oct 2003 16:28:30 -0000 1.12
@@ -277,20 +277,6 @@
}
/**
- * Set a window client machine.
- * @param win The window
- * @param t The client machine string
- *
- * Set a window client machine string
- * <hr><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
- */
-void
-ecore_x_window_prop_client_machine_set(Ecore_X_Window win, const char *t)
-{
- ecore_x_window_prop_string_set(win, _ecore_x_atom_wm_client_machine, (char *)t);
-}
-
-/**
* Get a window client machine string.
* @param win The window
* @return The windows client machine string
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs