QueryResponses.cs, DumpIndex.cs, IQueryResult.cs, QueryExecutor.cs, QueryResult.cs...
[beagle.git] / glue / ui-glue.c
blobf4dedf6e0e46f798ec609d972195b7d8d100cfe4
1 #include <gtk/gtk.h>
3 void ui_glue_set_drag_pixbuf_from_image (GdkDragContext *drag_context,
4 GtkImage *image);
7 void
8 ui_glue_set_drag_pixbuf_from_image (GdkDragContext *drag_context,
9 GtkImage *image)
11 if (image->storage_type == GTK_IMAGE_PIXBUF &&
12 image->data.pixbuf.pixbuf) {
13 gtk_drag_set_icon_pixbuf (drag_context,
14 image->data.pixbuf.pixbuf,
15 0, 0);
16 } else if (image->storage_type == GTK_IMAGE_ICON_NAME &&
17 image->data.name.pixbuf) {
18 gtk_drag_set_icon_pixbuf (drag_context,
19 image->data.name.pixbuf,
20 0, 0);