diff options
author | Philip Withnall <philip.withnall@collabora.co.uk> | 2010-07-08 18:39:07 +0800 |
---|---|---|
committer | Philip Withnall <philip.withnall@collabora.co.uk> | 2010-08-05 22:55:07 +0800 |
commit | f8c37da731af9f6cd74e7a0ef08fa02059d981ac (patch) | |
tree | 88678c98422ba129ac0b6f602c5832bc9570251b /libempathy-gtk/empathy-individual-view.c | |
parent | 5cc326f741ab695e4fac8f4c4ccd99cf235115fc (diff) | |
download | gsoc2013-empathy-f8c37da731af9f6cd74e7a0ef08fa02059d981ac.tar gsoc2013-empathy-f8c37da731af9f6cd74e7a0ef08fa02059d981ac.tar.gz gsoc2013-empathy-f8c37da731af9f6cd74e7a0ef08fa02059d981ac.tar.bz2 gsoc2013-empathy-f8c37da731af9f6cd74e7a0ef08fa02059d981ac.tar.lz gsoc2013-empathy-f8c37da731af9f6cd74e7a0ef08fa02059d981ac.tar.xz gsoc2013-empathy-f8c37da731af9f6cd74e7a0ef08fa02059d981ac.tar.zst gsoc2013-empathy-f8c37da731af9f6cd74e7a0ef08fa02059d981ac.zip |
Fix missing entries in switch statements
Added missing default cases and missing enum cases.
Diffstat (limited to 'libempathy-gtk/empathy-individual-view.c')
-rw-r--r-- | libempathy-gtk/empathy-individual-view.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libempathy-gtk/empathy-individual-view.c b/libempathy-gtk/empathy-individual-view.c index 369933e6a..239eda7d0 100644 --- a/libempathy-gtk/empathy-individual-view.c +++ b/libempathy-gtk/empathy-individual-view.c @@ -783,12 +783,10 @@ individual_view_drag_data_get (GtkWidget *widget, individual_id = folks_individual_get_id (individual); - switch (info) + if (info == DND_DRAG_TYPE_INDIVIDUAL_ID) { - case DND_DRAG_TYPE_INDIVIDUAL_ID: gtk_selection_data_set (selection, drag_atoms_source[info], 8, (guchar *) individual_id, strlen (individual_id) + 1); - break; } g_object_unref (individual); |