dnd: Add gtk_image_set_from_definition()

... and use it in the DND code, thereby getting rid of the icon helper.
This commit is contained in:
Benjamin Otte
2015-12-02 15:40:44 +01:00
parent 4d31bf91db
commit c10b6b7297
3 changed files with 38 additions and 51 deletions

View File

@ -27,10 +27,14 @@
#include "gtkimage.h"
#include "gtkimagedefinitionprivate.h"
G_BEGIN_DECLS
void gtk_image_set_from_definition (GtkImage *image,
GtkImageDefinition *def,
GtkIconSize size);
G_END_DECLS