summaryrefslogtreecommitdiff
path: root/gtk/gtkquartz.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2008-08-29 04:16:56 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2008-08-29 04:16:56 +0000
commit9eae7a1d2e7457d67ba00bb8c35775c1523fa186 (patch)
tree7bd71b3699f167dfbb375a5e91e04cc8510b2692 /gtk/gtkquartz.c
parent70b0a69e5e797983ae5f645b4eb0ab5bf5e4f77c (diff)
downloadgtk+-9eae7a1d2e7457d67ba00bb8c35775c1523fa186.tar.gz
Split gtk_selection_data_get_data into gtk_selection_data_get_data and
2008-08-29 Matthias Clasen <mclasen@redhat.com> * gtk/gtk.symbols: * gtk/gtkselection.[hc]: Split gtk_selection_data_get_data into gtk_selection_data_get_data and gtk_selection_data_get_length. Proposed by Owen Taylor. svn path=/trunk/; revision=21232
Diffstat (limited to 'gtk/gtkquartz.c')
-rw-r--r--gtk/gtkquartz.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gtk/gtkquartz.c b/gtk/gtkquartz.c
index bcecad4e36..4750948b59 100644
--- a/gtk/gtkquartz.c
+++ b/gtk/gtkquartz.c
@@ -260,12 +260,13 @@ _gtk_quartz_set_selection_data_for_pasteboard (NSPasteboard *pasteboard,
GdkDisplay *display;
gint format;
const guchar *data;
- guint length;
+ gint length;
target = gdk_atom_name (gtk_selection_data_get_target (selection_data));
display = gtk_selection_data_get_display (selection_data);
format = gtk_selection_data_get_format (selection_data);
- data = gtk_selection_data_get_data (selection_data, &length);
+ data = gtk_selection_data_get_data (selection_data);
+ length = gtk_selection_data_get_length (selection_data);
type = target_to_pasteboard_type (target);
g_free (target);