Fix a couple attachment drag-and-drop typos.

This commit is contained in:
Matthew Barnes
2009-05-05 22:58:58 -04:00
parent 73e2332d84
commit 95a1645fc5

View File

@ -431,7 +431,7 @@ attachment_view_text_calendar (EAttachmentView *view,
gchar *content_type;
gint length;
if (G_UNLIKELY (atom = GDK_NONE))
if (G_UNLIKELY (atom == GDK_NONE))
atom = gdk_atom_intern_static_string ("text/calendar");
if (gtk_selection_data_get_target (selection_data) != atom)
@ -487,7 +487,7 @@ attachment_view_text_x_vcard (EAttachmentView *view,
gchar *content_type;
gint length;
if (G_UNLIKELY (atom = GDK_NONE))
if (G_UNLIKELY (atom == GDK_NONE))
atom = gdk_atom_intern_static_string ("text/x-vcard");
if (gtk_selection_data_get_target (selection_data) != atom)