[gtk+/gtk-2-24] 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: Fix a typo and a compilation warning
- Date: Sun, 25 Sep 2011 21:45:21 +0000 (UTC)
commit 81c2166eb9d799771eee98a882aa518c96ab96c4
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 87b32e6..e22fc70 100644
--- a/gtk/gtkdnd-quartz.c
+++ b/gtk/gtkdnd-quartz.c
@@ -1888,7 +1888,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]