diff options
author | Benjamin Otte <otte@redhat.com> | 2015-11-25 15:59:44 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2015-12-02 00:29:29 +0100 |
commit | 1c96b703a684b7545535491f1d795056382d9738 (patch) | |
tree | 12d1ad53cdbde2d3a4c7aecf313ce784d9b09c62 /gtk/gtkiconhelperprivate.h | |
parent | e666106a43ca57f6a7d606164ac5805594c986f4 (diff) | |
download | gtk+-1c96b703a684b7545535491f1d795056382d9738.tar.gz |
dragsource: Store an itemdefinition, not an iconhelper
The icon is never rendered, so there's no need for the extra iconhelper
code.
Diffstat (limited to 'gtk/gtkiconhelperprivate.h')
-rw-r--r-- | gtk/gtkiconhelperprivate.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtkiconhelperprivate.h b/gtk/gtkiconhelperprivate.h index 7e01d7882a..1e98f29040 100644 --- a/gtk/gtkiconhelperprivate.h +++ b/gtk/gtkiconhelperprivate.h @@ -23,6 +23,8 @@ #include "gtk/gtkimage.h" #include "gtk/gtktypes.h" +#include "gtkimagedefinitionprivate.h" + G_BEGIN_DECLS #define GTK_TYPE_ICON_HELPER _gtk_icon_helper_get_type() @@ -74,6 +76,8 @@ void _gtk_icon_helper_set_window (GtkIconHelper *self, gboolean _gtk_icon_helper_get_is_empty (GtkIconHelper *self); +void _gtk_icon_helper_set_definition (GtkIconHelper *self, + GtkImageDefinition *def); void _gtk_icon_helper_set_gicon (GtkIconHelper *self, GIcon *gicon, GtkIconSize icon_size); |