aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-05-06 10:58:58 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-05-06 10:58:58 +0800
commit95a1645fc577bc56f44cac5887e72ca785e140e1 (patch)
treef7ce42c89489fe8095262ae55527358ed26e946f
parent73e2332d84518da99cb9c118553db26d6db3f21a (diff)
downloadgsoc2013-evolution-95a1645fc577bc56f44cac5887e72ca785e140e1.tar.gz
gsoc2013-evolution-95a1645fc577bc56f44cac5887e72ca785e140e1.tar.zst
gsoc2013-evolution-95a1645fc577bc56f44cac5887e72ca785e140e1.zip
Fix a couple attachment drag-and-drop typos.
-rw-r--r--widgets/misc/e-attachment-view.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/widgets/misc/e-attachment-view.c b/widgets/misc/e-attachment-view.c
index f85fcdbace..27ef5d84a8 100644
--- a/widgets/misc/e-attachment-view.c
+++ b/widgets/misc/e-attachment-view.c
@@ -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)