aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/widgets/e-addressbook-view.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@src.gnome.org>2007-06-03 11:10:56 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2007-06-03 11:10:56 +0800
commitaf52113f2f8b934664a233a3a5dd1544dd347638 (patch)
tree43beeca5a8b04f9f90e357b8322f4a1379925254 /addressbook/gui/widgets/e-addressbook-view.c
parent2ba6ef0e2b7d01f3e110bdc69950712b8a3e598b (diff)
downloadgsoc2013-evolution-af52113f2f8b934664a233a3a5dd1544dd347638.tar
gsoc2013-evolution-af52113f2f8b934664a233a3a5dd1544dd347638.tar.gz
gsoc2013-evolution-af52113f2f8b934664a233a3a5dd1544dd347638.tar.bz2
gsoc2013-evolution-af52113f2f8b934664a233a3a5dd1544dd347638.tar.lz
gsoc2013-evolution-af52113f2f8b934664a233a3a5dd1544dd347638.tar.xz
gsoc2013-evolution-af52113f2f8b934664a233a3a5dd1544dd347638.tar.zst
gsoc2013-evolution-af52113f2f8b934664a233a3a5dd1544dd347638.zip
Fix compiler warnings in addressbook folder. (#440272)
svn path=/trunk/; revision=33630
Diffstat (limited to 'addressbook/gui/widgets/e-addressbook-view.c')
-rw-r--r--addressbook/gui/widgets/e-addressbook-view.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/addressbook/gui/widgets/e-addressbook-view.c b/addressbook/gui/widgets/e-addressbook-view.c
index 758a3af16f..3174e5f21f 100644
--- a/addressbook/gui/widgets/e-addressbook-view.c
+++ b/addressbook/gui/widgets/e-addressbook-view.c
@@ -1148,7 +1148,7 @@ table_drag_data_get (ETable *table,
gtk_selection_data_set (selection_data,
selection_data->target,
8,
- value, strlen (value));
+ (guchar *)value, strlen (value));
g_free (value);
break;
}
@@ -1160,7 +1160,7 @@ table_drag_data_get (ETable *table,
gtk_selection_data_set (selection_data,
selection_data->target,
8,
- value, strlen (value));
+ (guchar *)value, strlen (value));
g_free (value);
break;
}
@@ -1663,7 +1663,7 @@ make_suboptions (EABView *view)
const char *category = g_list_nth_data (master_list, i);
subitems[i+1].search.id = i+1;
subitems[i+1].search.text = g_strdup (category);
- subitems[i+1].image = e_categories_get_icon_file_for (category);
+ subitems[i+1].image = (char *)e_categories_get_icon_file_for (category);
}
subitems[N+1].search.id = -1;
@@ -1861,11 +1861,11 @@ eab_view_delete_selection(EABView *view, gboolean is_delete)
GList *list, *l;
gboolean plural = FALSE, is_list = FALSE;
EContact *contact;
- ETable *etable;
+ ETable *etable = NULL;
EMinicardView *card_view;
- ESelectionModel *selection_model;
+ ESelectionModel *selection_model = NULL;
char *name = NULL;
- gint row, select;
+ gint row = 0, select;
list = get_selected_contacts (view);
contact = list->data;
@@ -1977,7 +1977,7 @@ selection_get (GtkWidget *invisible,
value = eab_contact_list_to_string (view->clipboard_contacts);
gtk_selection_data_set (selection_data, GDK_SELECTION_TYPE_STRING,
- 8, value, strlen (value));
+ 8, (guchar *)value, strlen (value));
g_free (value);
}
@@ -2011,7 +2011,7 @@ selection_received (GtkWidget *invisible,
memcpy (str, selection_data->data, selection_data->length);
contact_list = eab_contact_list_from_string (str);
} else
- contact_list = eab_contact_list_from_string (selection_data->data);
+ contact_list = eab_contact_list_from_string ((char *)selection_data->data);
for (l = contact_list; l; l = l->next) {
EContact *contact = l->data;