packages: stalonetray/stalonetray-debug.patch (NEW) - do not use debug func...

lisu lisu at pld-linux.org
Fri Oct 23 10:35:20 CEST 2009


Author: lisu                         Date: Fri Oct 23 08:35:20 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- do not use debug function when building non-debug version

---- Files affected:
packages/stalonetray:
   stalonetray-debug.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/stalonetray/stalonetray-debug.patch
diff -u /dev/null packages/stalonetray/stalonetray-debug.patch:1.1
--- /dev/null	Fri Oct 23 10:35:20 2009
+++ packages/stalonetray/stalonetray-debug.patch	Fri Oct 23 10:35:15 2009
@@ -0,0 +1,12 @@
+--- stalonetray-0.8.0/src/main.c~	2009-10-21 14:07:11.000000000 +0000
++++ stalonetray-0.8.0/src/main.c	2009-10-23 10:35:14.000000000 +0000
+@@ -323,7 +323,9 @@
+ #endif
+ 	/* React on WM (re)starts */
+ 	if (ev.atom == XInternAtom(tray_data.dpy, _NET_SUPPORTING_WM_CHECK, False)) {
++#ifdef DEBUG
+ 		ewmh_list_supported_atoms(tray_data.dpy);
++#endif
+ 		tray_set_wm_hints();
+ 		kde_tray_update_fallback_mode(tray_data.dpy);
+ 	}
================================================================


More information about the pld-cvs-commit mailing list