summaryrefslogtreecommitdiff
path: root/gtk/gtkcombo.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2002-06-18 20:59:44 +0000
committerOwen Taylor <otaylor@src.gnome.org>2002-06-18 20:59:44 +0000
commit621fb7466a984a45b5d2fc267eac0024d6218030 (patch)
tree3f760dd49587cfc84b71c6989daf5be2b0cbb13d /gtk/gtkcombo.c
parent1371ded54cb57c793a09ccf14c1dfcdcdd6e4a47 (diff)
downloadgdk-pixbuf-621fb7466a984a45b5d2fc267eac0024d6218030.tar.gz
Replace gdk_cursor_new_for_screen() with gdk_cursor_new_for_display().
Tue Jun 18 14:41:48 2002 Owen Taylor <otaylor@redhat.com> * gdk/gdkcursor.[ch] gdk/x11/gdkcursor-x11.c gdk/x11/gdkprivate-x11.h gdk/win32/gdkcursor-win32.c: Replace gdk_cursor_new_for_screen() with gdk_cursor_new_for_display(). (#85671) * gtk/gtkclist.c gtk/gtkcombo.c gtk/gtkcurve.c gtk/gtkdnd.c gtk/gtkentry.c gtk/gtkhandlebox.c gtk/gtkhsv.c gtk/gtklabel.c gtk/gtkpaned.c gtk/gtktext.c gtk/gtktextview.c gtk/gtktipsquery.c gtk/gtktreeviewcolumn.c: Adapt to above change.
Diffstat (limited to 'gtk/gtkcombo.c')
-rw-r--r--gtk/gtkcombo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkcombo.c b/gtk/gtkcombo.c
index a425d9800..3c4e6cd63 100644
--- a/gtk/gtkcombo.c
+++ b/gtk/gtkcombo.c
@@ -757,8 +757,8 @@ gtk_combo_list_key_press (GtkWidget * widget, GdkEventKey * event, GtkCombo * co
static void
combo_event_box_realize (GtkWidget *widget)
{
- GdkCursor *cursor = gdk_cursor_new_for_screen (gtk_widget_get_screen (widget),
- GDK_TOP_LEFT_ARROW);
+ GdkCursor *cursor = gdk_cursor_new_for_display (gtk_widget_get_display (widget),
+ GDK_TOP_LEFT_ARROW);
gdk_window_set_cursor (widget->window, cursor);
gdk_cursor_destroy (cursor);
}