diff options
author | Matthew Barnes <mbarnes@src.gnome.org> | 2007-06-03 11:10:56 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@src.gnome.org> | 2007-06-03 11:10:56 +0800 |
commit | af52113f2f8b934664a233a3a5dd1544dd347638 (patch) | |
tree | 43beeca5a8b04f9f90e357b8322f4a1379925254 /addressbook/gui/component/addressbook-config.c | |
parent | 2ba6ef0e2b7d01f3e110bdc69950712b8a3e598b (diff) | |
download | gsoc2013-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/component/addressbook-config.c')
-rw-r--r-- | addressbook/gui/component/addressbook-config.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/addressbook/gui/component/addressbook-config.c b/addressbook/gui/component/addressbook-config.c index 133512d2c4..320a17e386 100644 --- a/addressbook/gui/component/addressbook-config.c +++ b/addressbook/gui/component/addressbook-config.c @@ -425,8 +425,8 @@ query_for_supported_bases (GtkWidget *button, AddressbookSourceDialog *sdialog) supported_bases_table = glade_xml_get_widget (gui, "supported-bases-table"); gtk_widget_show_all (supported_bases_table); - table = g_object_get_data((GObject *)supported_bases_table, "table"); - model = (GtkListStore *)gtk_tree_view_get_model(table); + table = g_object_get_data (G_OBJECT (supported_bases_table), "table"); + model = GTK_LIST_STORE (gtk_tree_view_get_model(table)); selection = gtk_tree_view_get_selection (table); g_signal_connect (selection, "changed", G_CALLBACK (search_base_selection_model_changed), dialog); search_base_selection_model_changed (selection, dialog); @@ -1018,7 +1018,7 @@ eabc_commit(EConfig *ec, GSList *items, void *data) d(printf("committing addressbook changes\n")); /* these api's kinda suck */ - xml = xmlNewNode(NULL, "dummy"); + xml = xmlNewNode(NULL, (const unsigned char *)"dummy"); e_source_dump_to_xml_node(sdialog->source, xml); e_source_update_from_xml_node(sdialog->original_source, xml->children, NULL); xmlFreeNode(xml); |