summaryrefslogtreecommitdiff
path: root/gtk/gtkdnd.c
diff options
context:
space:
mode:
authorWilliam Jon McCann <william.jon.mccann@gmail.com>2013-06-24 19:28:53 -0400
committerWilliam Jon McCann <william.jon.mccann@gmail.com>2013-06-24 22:20:49 -0400
commit02c793f24aa0a967473da48c5ff207c75ec2f413 (patch)
tree2cc7daa15b51d016805f5de546a447624e94cca6 /gtk/gtkdnd.c
parent2b571f41e2cfc4230871624c1a784bb112d85538 (diff)
downloadgtk+-02c793f24aa0a967473da48c5ff207c75ec2f413.tar.gz
Start migrating internals away from GtkStock
Diffstat (limited to 'gtk/gtkdnd.c')
-rw-r--r--gtk/gtkdnd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkdnd.c b/gtk/gtkdnd.c
index 3cf0e5c095..aecb769927 100644
--- a/gtk/gtkdnd.c
+++ b/gtk/gtkdnd.c
@@ -2435,7 +2435,7 @@ gtk_drag_source_site_get_icon_helper (GtkDragSourceSite *site)
helper = _gtk_icon_helper_new ();
if (_gtk_icon_helper_get_is_empty (helper))
- _gtk_icon_helper_set_stock_id (helper, GTK_STOCK_DND, GTK_ICON_SIZE_DND);
+ _gtk_icon_helper_set_icon_name (helper, "text-x-generic", GTK_ICON_SIZE_DND);
return helper;
}
@@ -3036,7 +3036,7 @@ gtk_drag_get_icon (GtkDragSourceInfo *info,
info->icon_window = NULL;
helper = _gtk_icon_helper_new ();
- _gtk_icon_helper_set_stock_id (helper, GTK_STOCK_DND, GTK_ICON_SIZE_DND);
+ _gtk_icon_helper_set_icon_name (helper, "text-x-generic", GTK_ICON_SIZE_DND);
set_icon_helper (info->context, helper, -2, -2, TRUE);
info->fallback_icon = info->icon_window;
@@ -3523,7 +3523,7 @@ gtk_drag_set_icon_default (GdkDragContext *context)
{
g_return_if_fail (GDK_IS_DRAG_CONTEXT (context));
- gtk_drag_set_icon_stock (context, GTK_STOCK_DND, -2, -2);
+ gtk_drag_set_icon_name (context, "text-x-generic", -2, -2);
}
/*************************************************************