aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-12-12 03:37:30 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-12-12 03:37:30 +0800
commit84cc28032ce8c3fe28901c48b7e52212ab48ada3 (patch)
tree7dbfebb6b08e3a875572ca5b2dadc067fc84394b /composer/e-msg-composer.c
parent8a954d04483a7b7343070bf8ba5bc58e15938877 (diff)
downloadgsoc2013-evolution-84cc28032ce8c3fe28901c48b7e52212ab48ada3.tar.gz
gsoc2013-evolution-84cc28032ce8c3fe28901c48b7e52212ab48ada3.tar.zst
gsoc2013-evolution-84cc28032ce8c3fe28901c48b7e52212ab48ada3.zip
If the widget is non-NULL, then gtk_widget_destroy that bad boy...
2001-12-11 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-select-file.c (file_selection_info_destroy_notify): If the widget is non-NULL, then gtk_widget_destroy that bad boy... svn path=/trunk/; revision=14984
Diffstat (limited to 'composer/e-msg-composer.c')
-rw-r--r--composer/e-msg-composer.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index d9df329775..b81dd7aac1 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -2140,10 +2140,10 @@ message_rfc822_dnd (EMsgComposer *composer, CamelStream *stream)
static void
drag_data_received (EMsgComposer *composer, GdkDragContext *context,
- gint x, gint y, GtkSelectionData *selection,
+ int x, int y, GtkSelectionData *selection,
guint info, guint time)
{
- gchar *tmp, *filename, **filenames;
+ char *tmp, *filename, **filenames;
CamelMimePart *mime_part;
CamelStream *stream;
CamelURL *url;
@@ -2183,6 +2183,7 @@ drag_data_received (EMsgComposer *composer, GdkDragContext *context,
g_free (filenames);
break;
case DND_TYPE_TEXT_VCARD:
+ printf ("dropping a text/x-vcard\n");
mime_part = camel_mime_part_new ();
camel_mime_part_set_content (mime_part, selection->data,
selection->length, "text/x-vcard");
@@ -2194,6 +2195,7 @@ drag_data_received (EMsgComposer *composer, GdkDragContext *context,
camel_object_unref (CAMEL_OBJECT (mime_part));
default:
+ printf ("dropping an unknown\n");
break;
}
}