fName = g_strdup( ADDRITEM_NAME(folder) );
name = &fName;
- node = gtk_sctree_insert_node( tree, parentNode, NULL, name, FOLDER_SPACING,
+ node = gtk_ctree_insert_node( tree, parentNode, NULL, name, FOLDER_SPACING,
folderXpm, folderXpmMask, folderXpm, folderXpmMask,
FALSE, TRUE );
}
}
-static void addressbook_foldersel_load_data( AddressIndex *addrIndex, gchar *path, FolderPathMatch* match )
+static void addressbook_foldersel_load_data( AddressIndex *addrIndex,
+ FolderPathMatch* match )
{
AddressDataSource *ds;
GList *list, *nodeDS;
/* Add node for address book */
abf = ds->rawDataSource;
name = &dsName;
- node = gtk_sctree_insert_node( tree, NULL, NULL,
+ node = gtk_ctree_insert_node( tree, NULL, NULL,
name, FOLDER_SPACING, bookXpm,
bookXpmMask, bookXpm, bookXpmMask,
FALSE, TRUE );
}
gboolean addressbook_foldersel_selection( AddressIndex *addrIndex,
- AddressBookFile **book, ItemFolder **folder, gchar* path)
+ AddressBookFile **book, ItemFolder **folder,
+ const gchar* path)
{
FolderPathMatch folder_path_match = { NULL, FALSE, 0, NULL };
gboolean retVal = FALSE;
folder_path_match.folder_path = g_strsplit( path, "/", 256 );
}
- addressbook_foldersel_load_data( addrIndex, path, &folder_path_match );
+ addressbook_foldersel_load_data( addrIndex, &folder_path_match );
if ( folder_path_match.folder_path != NULL && folder_path_match.matched == FALSE)
g_warning("addressbook_foldersel_load_data: couldn't match book/folder path '%s'\n", path);