[gtk+/gtk-2-24-quartz] quartz: make gdk_quartz_osx_version conform to coding style
- From: John Ralls <jralls src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-2-24-quartz] quartz: make gdk_quartz_osx_version conform to coding style
- Date: Wed, 23 Nov 2011 23:02:45 +0000 (UTC)
commit d93108e155bc7365879fb670812a1bee24d41126
Author: Kristian Rietveld <kris loopnest org>
Date: Sun Nov 6 09:34:39 2011 +0100
quartz: make gdk_quartz_osx_version conform to coding style
gdk/quartz/gdkglobals-quartz.c | 11 +++++------
1 files changed, 5 insertions(+), 6 deletions(-)
---
diff --git a/gdk/quartz/gdkglobals-quartz.c b/gdk/quartz/gdkglobals-quartz.c
index 3dbdc1a..53c6d5e 100644
--- a/gdk/quartz/gdkglobals-quartz.c
+++ b/gdk/quartz/gdkglobals-quartz.c
@@ -31,14 +31,13 @@ GdkOSXVersion
gdk_quartz_osx_version (void)
{
gint32 minor;
- OSErr err = Gestalt(gestaltSystemVersionMinor, (SInt32*)&minor);
- g_return_val_if_fail(err == noErr, GDK_OSX_UNSUPPORTED);
+ OSErr err = Gestalt (gestaltSystemVersionMinor, (SInt32*)&minor);
+ g_return_val_if_fail (err == noErr, GDK_OSX_UNSUPPORTED);
if (minor < GDK_OSX_MIN)
- return GDK_OSX_UNSUPPORTED;
+ return GDK_OSX_UNSUPPORTED;
else if (minor > GDK_OSX_CURRENT)
- return GDK_OSX_NEW;
+ return GDK_OSX_NEW;
else
- return minor;
-
+ return minor;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]