Mercurial > audlegacy
diff src/audacious/util.c @ 2494:59661bd074b4 trunk
[svn] Try to put some skinned window code in a common place.
author | nenolod |
---|---|
date | Sat, 10 Feb 2007 17:01:44 -0800 |
parents | 5b1b26db3a37 |
children | 7934ac463591 |
line wrap: on
line diff
--- a/src/audacious/util.c Sat Feb 10 12:29:21 2007 -0800 +++ b/src/audacious/util.c Sat Feb 10 17:01:44 2007 -0800 @@ -598,26 +598,6 @@ } #endif -void -util_set_cursor(GtkWidget * window) -{ - static GdkCursor *cursor = NULL; - - if (!window) { - if (cursor) { - gdk_cursor_unref(cursor); - cursor = NULL; - } - - return; - } - - if (!cursor) - cursor = gdk_cursor_new(GDK_LEFT_PTR); - - gdk_window_set_cursor(window->window, cursor); -} - /* text_get_extents() taken from The GIMP (C) Spencer Kimball, Peter * Mattis et al */ gboolean