Quartz: Fix a typo and a compilation warning
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user