diff options
author | Matthias Clasen <mclasen@redhat.com> | 2004-04-23 20:01:53 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2004-04-23 20:01:53 +0000 |
commit | 475c0e74f887b9a62a82e8a80775c38f539eeb2b (patch) | |
tree | 3a5264b30e83b4e89e5b62ac1e152f2c025fea9e /gtk/gtkclipboard.c | |
parent | 34265f4f09c12bf4b581e67e4509d73cb7b2baa3 (diff) | |
download | gtk+-475c0e74f887b9a62a82e8a80775c38f539eeb2b.tar.gz |
Correctly initialize targets. (#139883, John Finlay)
2004-04-23 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkclipboard.c (gtk_clipboard_wait_for_targets): Correctly
initialize targets. (#139883, John Finlay)
Diffstat (limited to 'gtk/gtkclipboard.c')
-rw-r--r-- | gtk/gtkclipboard.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtkclipboard.c b/gtk/gtkclipboard.c index ba48ba26b4..107b40d697 100644 --- a/gtk/gtkclipboard.c +++ b/gtk/gtkclipboard.c @@ -1095,7 +1095,8 @@ gtk_clipboard_wait_for_targets (GtkClipboard *clipboard, if (n_targets) *n_targets = 0; - targets = NULL; + if (targets) + *targets = NULL; data = gtk_clipboard_wait_for_contents (clipboard, gdk_atom_intern ("TARGETS", FALSE)); |