aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2005-11-03 20:12:45 +0800
committerChristian Persch <chpe@src.gnome.org>2005-11-03 20:12:45 +0800
commit5304b565cd6192c80bae5473d3ac2364dc0de7bb (patch)
tree987db64a5e713ed2a8c450771f9c22acab04f1cc /lib
parent091da0a626e431a3d407e18443efc5315839f057 (diff)
downloadgsoc2013-epiphany-5304b565cd6192c80bae5473d3ac2364dc0de7bb.tar
gsoc2013-epiphany-5304b565cd6192c80bae5473d3ac2364dc0de7bb.tar.gz
gsoc2013-epiphany-5304b565cd6192c80bae5473d3ac2364dc0de7bb.tar.bz2
gsoc2013-epiphany-5304b565cd6192c80bae5473d3ac2364dc0de7bb.tar.lz
gsoc2013-epiphany-5304b565cd6192c80bae5473d3ac2364dc0de7bb.tar.xz
gsoc2013-epiphany-5304b565cd6192c80bae5473d3ac2364dc0de7bb.tar.zst
gsoc2013-epiphany-5304b565cd6192c80bae5473d3ac2364dc0de7bb.zip
R data/art/hand-open.png:
2005-11-03 Christian Persch <chpe@cvs.gnome.org> * data/art/Makefile.am: R data/art/hand-open.png: * lib/egg/egg-toolbar-editor.c: (drag_data_get_cb), (set_drag_cursor): Use a gtk stock cursor (GDK_HAND2) instead of our own, un-themed one.
Diffstat (limited to 'lib')
-rwxr-xr-xlib/egg/egg-toolbar-editor.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/lib/egg/egg-toolbar-editor.c b/lib/egg/egg-toolbar-editor.c
index 4cb7d0ccc..46ac89c48 100755
--- a/lib/egg/egg-toolbar-editor.c
+++ b/lib/egg/egg-toolbar-editor.c
@@ -308,7 +308,8 @@ drag_data_get_cb (GtkWidget *widget,
target = g_object_get_data (G_OBJECT (widget), "egg-item-name");
g_return_if_fail (target != NULL);
- gtk_selection_data_set (selection_data, selection_data->target, 8, target, strlen (target));
+ gtk_selection_data_set (selection_data, selection_data->target, 8,
+ (const guchar *) target, strlen (target));
}
static gchar *
@@ -341,14 +342,12 @@ static void
set_drag_cursor (GtkWidget *widget)
{
GdkCursor *cursor;
- GdkPixbuf *pixbuf;
-
- pixbuf = gdk_pixbuf_new_from_file (CURSOR_DIR "/hand-open.png", NULL);
- cursor = gdk_cursor_new_from_pixbuf (gdk_display_get_default (), pixbuf, 12, 12);
+
+ /* FIXME multihead */
+ cursor = gdk_cursor_new (GDK_HAND2);
gdk_window_set_cursor (widget->window, cursor);
gdk_cursor_unref (cursor);
- g_object_unref (pixbuf);
}
static void