|
From: | cvs-commit at developer dot classpath dot org |
Subject: | [Bug awt/23701] GtkClipboard.c requires GTK 2.6 |
Date: | 3 Sep 2005 23:56:24 -0000 |
------- Additional Comments From cvs-commit at developer dot classpath dot org 2005-09-03 23:56 ------- Subject: Bug 23701 CVSROOT: /cvsroot/classpath Module name: classpath Branch: Changes by: Mark Wielaard <address@hidden> 05/09/03 23:43:12 Modified files: . : ChangeLog native/jni/gtk-peer: gnu_java_awt_peer_gtk_GtkSelection.c Log message: Fixes bug #23701 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c (clipboard_owner_change_cb): Only used when GTK_MINOR_VERSION > 4. (Java_gnu_java_awt_peer_gtk_GtkClipboard_initNativeState): Only request owner-change events for GTK_MINOR_VERSION > 4. (clipboard_get_func): Only handle pixbuf and uri when GTK_MINOR_VERSION > 4. (Java_gnu_java_awt_peer_gtk_GtkClipboard_advertiseContent): Only call gtk_target_list_add_* functions when GTK_MINOR_VERSION > 4. Similar for gtk_clipboard_set_can_store. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c (Java_gnu_java_awt_peer_gtk_GtkImage_drawPixelsScaledFlipped): Mark flipx and flipy unused for GTK_MINOR_VERSION <= 4. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkSelection.c (clipboard_targets_received): Don't handle images for GTK_MINOR_VERSION <= 4. (Java_gnu_java_awt_peer_gtk_GtkSelection_requestImage): Likewise. (clipboard_uris_received): Likewise for text/uri-list. (Java_gnu_java_awt_peer_gtk_GtkSelection_requestURIs): Likewise. CVSWeb URLs: http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.4634&tr2=1.4635&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkSelection.c.diff?tr1=1.1&tr2=1.2&r1=text&r2=text -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23701
[Prev in Thread] | Current Thread | [Next in Thread] |