Enlightenment CVS committal
Author : sebastid
Project : e17
Module : apps/e
Dir : e17/apps/e/src/bin
Modified Files:
e_border.c
Log Message:
Don't use the deprecated ecore_x_window_prop_*() functions.
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_border.c,v
retrieving revision 1.165
retrieving revision 1.166
diff -u -3 -r1.165 -r1.166
--- e_border.c 29 Apr 2005 08:37:08 -0000 1.165
+++ e_border.c 29 Apr 2005 08:56:23 -0000 1.166
@@ -2564,7 +2564,7 @@
pclass = bd->client.icccm.class;
bd->client.icccm.name = NULL;
bd->client.icccm.class = NULL;
- ecore_x_window_prop_name_class_get(bd->client.win,
&bd->client.icccm.name, &bd->client.icccm.class);
+ ecore_x_icccm_name_class_get(bd->client.win, &bd->client.icccm.name,
&bd->client.icccm.class);
if ((pname) && (bd->client.icccm.name) &&
(pclass) && (bd->client.icccm.class))
{
@@ -2752,12 +2752,14 @@
}
if (bd->client.netwm.fetch.pid)
{
- bd->client.netwm.pid = ecore_x_window_prop_pid_get(bd->client.win);
+ if (!ecore_x_netwm_pid_get(bd->client.win, &bd->client.netwm.pid))
+ bd->client.netwm.pid = -1;
bd->client.netwm.fetch.pid = 0;
}
if (bd->client.netwm.fetch.desktop)
{
- bd->client.netwm.desktop =
ecore_x_window_prop_desktop_get(bd->client.win);
+ if (!ecore_x_netwm_desktop_get(bd->client.win,
&bd->client.netwm.desktop))
+ bd->client.netwm.desktop = -1;
bd->client.netwm.fetch.desktop = 0;
}
-------------------------------------------------------
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs