[Xfce4-commits] <postler:master> Use Posixish.utsname to evade conflict with Vala 0.12
Christian Dywan
noreply at xfce.org
Tue Dec 7 20:02:01 CET 2010
Updating branch refs/heads/master
to e2c9750489385b2577726d8755f27e09ac7dca89 (commit)
from e54760d9fb00a7e98fc409c1ac652667301d4d36 (commit)
commit e2c9750489385b2577726d8755f27e09ac7dca89
Author: Christian Dywan <christian at twotoasts.de>
Date: Tue Dec 7 19:59:54 2010 +0100
Use Posixish.utsname to evade conflict with Vala 0.12
Fixes: https://bugs.launchpad.net/postler/+bug/686129
postler/postler-app.vala | 2 +-
postler/postler.vapi | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/postler/postler-app.vala b/postler/postler-app.vala
index d3ad3c5..76255a0 100644
--- a/postler/postler-app.vala
+++ b/postler/postler-app.vala
@@ -115,7 +115,7 @@ public class Postler.App : Unique.App {
printf (Config.PACKAGE_NAME,
Config.PACKAGE_VERSION.substring (0, 3),
"X11", /* FIXME: Determine window system */
- Posix.utsname ().sysname,
+ Posixish.utsname ().sysname,
Pango.Language.get_default ().to_string (),
WebKit.USER_AGENT_MAJOR_VERSION,
WebKit.USER_AGENT_MINOR_VERSION);
diff --git a/postler/postler.vapi b/postler/postler.vapi
index 9caf57d..d38e61a 100644
--- a/postler/postler.vapi
+++ b/postler/postler.vapi
@@ -26,7 +26,7 @@ namespace Gdk {
}
[CCode (cprefix = "", lower_case_cprefix = "")]
-namespace Posix {
+namespace Posixish {
[CCode (cname = "struct utsname", cheader_filename = "sys/utsname.h")]
public struct utsname {
public unowned string sysname;
More information about the Xfce4-commits
mailing list