[gtk+] quartz: make gdk_quartz_osx_version conform to coding style
- From: Kristian Rietveld <kristian src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] quartz: make gdk_quartz_osx_version conform to coding style
- Date: Sun, 6 Nov 2011 09:38:02 +0000 (UTC)
commit b78658c3101e60a61cc51cdbca41b5ead42c7332
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 edfd587..625c960 100644
--- a/gdk/quartz/gdkglobals-quartz.c
+++ b/gdk/quartz/gdkglobals-quartz.c
@@ -31,14 +31,13 @@ GdkOSXVersion
gdk_quartz_osx_version (void)
{
gint minor;
- OSErr err = Gestalt(gestaltSystemVersionMinor, &minor);
- g_return_val_if_fail(err == noErr, GDK_OSX_UNSUPPORTED);
+ OSErr err = Gestalt (gestaltSystemVersionMinor, &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]