Commit bbc45a62 authored by Richard Hult's avatar Richard Hult Committed by Richard Hult

Reindent.

2006-07-19  Richard Hult  <richard@imendio.com>

	* gtk/gtkdnd-quartz.c (register_types): Reindent.

	* gtk/gtkclipboard-quartz.c (gtk_clipboard_set_contents): Add
	autorelease pool.
parent d3973cb8
2006-07-19 Richard Hult <richard@imendio.com>
* gtk/gtkdnd-quartz.c (register_types): Reindent.
* gtk/gtkclipboard-quartz.c (gtk_clipboard_set_contents): Add
autorelease pool.
2006-07-19 Richard Hult <richard@imendio.com>
* gdk/quartz/GdkQuartzWindow.c
......
2006-07-19 Richard Hult <richard@imendio.com>
* gtk/gtkdnd-quartz.c (register_types): Reindent.
* gtk/gtkclipboard-quartz.c (gtk_clipboard_set_contents): Add
autorelease pool.
2006-07-19 Richard Hult <richard@imendio.com>
* gdk/quartz/GdkQuartzWindow.c
......
......@@ -371,8 +371,12 @@ gtk_clipboard_set_contents (GtkClipboard *clipboard,
{
GtkClipboardOwner *owner;
NSArray *types;
NSAutoreleasePool *pool;
pool = [[NSAutoreleasePool alloc] init];
owner = [[GtkClipboardOwner alloc] initWithClipboard:clipboard];
types = _gtk_quartz_target_entries_to_pasteboard_types (targets, n_targets);
clipboard->user_data = user_data;
......@@ -384,6 +388,8 @@ gtk_clipboard_set_contents (GtkClipboard *clipboard,
[clipboard->pasteboard declareTypes:types owner:owner];
[pool release];
return true;
}
......
......@@ -417,7 +417,7 @@ register_types (GtkWidget *widget, GtkDragDestSite *site)
if (!nswindow)
return;
pool= [[NSAutoreleasePool alloc] init];
pool = [[NSAutoreleasePool alloc] init];
types = _gtk_quartz_target_list_to_pasteboard_types (site->target_list);
[nswindow registerForDraggedTypes:types];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment