diff options
author | Matthias Clasen <mclasen@redhat.com> | 2004-12-28 04:31:40 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2004-12-28 04:31:40 +0000 |
commit | 676322ac06bd2dd67906e4839c6ef316a9f42151 (patch) | |
tree | eeff12710d75d60a2b74d8913b6de4a313047e97 /ChangeLog.pre-2-6 | |
parent | 34982b41d200b79faca6f97317fa43853cc435d5 (diff) | |
download | gdk-pixbuf-676322ac06bd2dd67906e4839c6ef316a9f42151.tar.gz |
Make the clipboard image API more robust (#162357, Torsten Schoenfeld):
2004-12-27 Matthias Clasen <mclasen@redhat.com>
Make the clipboard image API more robust (#162357,
Torsten Schoenfeld):
* gtk/gtkclipboard.c (clipboard_image_received_func): Don't
ref the pixbuf if it is NULL.
* gtk/gtkselection.c (gtk_selection_data_set_pixbuf):
NULL-terminate the varargs in the call to
gdk_pixbuf_save_to_buffer().
(gtk_selection_data_get_pixbuf): Only use a pixbuf loader
if there is data to load.
Diffstat (limited to 'ChangeLog.pre-2-6')
-rw-r--r-- | ChangeLog.pre-2-6 | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 522a7a26f..faf595caf 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,5 +1,19 @@ 2004-12-27 Matthias Clasen <mclasen@redhat.com> + Make the clipboard image API more robust (#162357, + Torsten Schoenfeld): + + * gtk/gtkclipboard.c (clipboard_image_received_func): Don't + ref the pixbuf if it is NULL. + + * gtk/gtkselection.c (gtk_selection_data_set_pixbuf): + NULL-terminate the varargs in the call to + gdk_pixbuf_save_to_buffer(). + (gtk_selection_data_get_pixbuf): Only use a pixbuf loader + if there is data to load. + +2004-12-27 Matthias Clasen <mclasen@redhat.com> + * gdk/x11/gdkinput-x11.c (_gdk_input_common_other_event): Set x_root and y_root in button and motion events from extended input devices. (#148715, Robert Ă–gren) |