[gtk+/gtk-2-24-quartz] Quartz: Fix a typo and a compilation warning
- From: John Ralls <jralls src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-2-24-quartz] Quartz: Fix a typo and a compilation warning
- Date: Wed, 23 Nov 2011 22:56:26 +0000 (UTC)
commit 9406e0a4b2ebb69deb115495ce83169e214a381c
Author: John Ralls <jralls ceridwen us>
Date: Sun Sep 25 14:44:54 2011 -0700
Quartz: Fix a typo and a compilation warning
gdk/quartz/gdkglobals-quartz.c | 4 ++--
gtk/gtkdnd-quartz.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gdk/quartz/gdkglobals-quartz.c b/gdk/quartz/gdkglobals-quartz.c
index edfd587..3dbdc1a 100644
--- a/gdk/quartz/gdkglobals-quartz.c
+++ b/gdk/quartz/gdkglobals-quartz.c
@@ -30,8 +30,8 @@ GdkWindow *_gdk_root = NULL;
GdkOSXVersion
gdk_quartz_osx_version (void)
{
- gint minor;
- OSErr err = Gestalt(gestaltSystemVersionMinor, &minor);
+ gint32 minor;
+ OSErr err = Gestalt(gestaltSystemVersionMinor, (SInt32*)&minor);
g_return_val_if_fail(err == noErr, GDK_OSX_UNSUPPORTED);
if (minor < GDK_OSX_MIN)
diff --git a/gtk/gtkdnd-quartz.c b/gtk/gtkdnd-quartz.c
index 6b9fb9a..6ef10bf 100644
--- a/gtk/gtkdnd-quartz.c
+++ b/gtk/gtkdnd-quartz.c
@@ -1909,7 +1909,7 @@ gtk_drag_source_info_destroy (GtkDragSourceInfo *info)
pasteboard = [NSPasteboard pasteboardWithName: NSDragPboard];
[pasteboard declareTypes: nil owner: nil];
- [pool relase];
+ [pool release];
gtk_drag_clear_source_info (info->context);
g_object_unref (info->context);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]