diff options
author | Owen Taylor <otaylor@redhat.com> | 2002-06-18 20:59:44 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2002-06-18 20:59:44 +0000 |
commit | 621fb7466a984a45b5d2fc267eac0024d6218030 (patch) | |
tree | 3f760dd49587cfc84b71c6989daf5be2b0cbb13d /gtk/gtktreeviewcolumn.c | |
parent | 1371ded54cb57c793a09ccf14c1dfcdcdd6e4a47 (diff) | |
download | gdk-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/gtktreeviewcolumn.c')
-rw-r--r-- | gtk/gtktreeviewcolumn.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtktreeviewcolumn.c b/gtk/gtktreeviewcolumn.c index 74cd5d794..c876a1eaa 100644 --- a/gtk/gtktreeviewcolumn.c +++ b/gtk/gtktreeviewcolumn.c @@ -980,8 +980,8 @@ _gtk_tree_view_column_realize_button (GtkTreeViewColumn *column) GDK_POINTER_MOTION_HINT_MASK | GDK_KEY_PRESS_MASK); attributes_mask = GDK_WA_CURSOR | GDK_WA_X | GDK_WA_Y; - attr.cursor = gdk_cursor_new_for_screen (gdk_drawable_get_screen (tree_view->priv->header_window), - GDK_SB_H_DOUBLE_ARROW); + attr.cursor = gdk_cursor_new_for_display (gdk_drawable_get_display (tree_view->priv->header_window), + GDK_SB_H_DOUBLE_ARROW); attr.y = 0; attr.width = TREE_VIEW_DRAG_WIDTH; attr.height = tree_view->priv->header_height; |