~ubuntu-branches/ubuntu/vivid/latexila/vivid

« back to all changes in this revision

Viewing changes to src/C/document.c

  • Committer: Bazaar Package Importer
  • Author(s): Tanguy Ortolo
  • Date: 2011-03-08 20:12:19 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20110308201219-umwprmma6w4o205l
Tags: 2.0.6-1
* New upstream release (bug fixes). (Closes: #615844)
* debian/control: depend on rubber (a LaTeX IDE is almost useless if it
  cannot compile). (Closes: #617348)

Show diffs side-by-side

added added

removed removed

Lines of Context:
263
263
GFile* document_get_main_file (Document* self);
264
264
char* utils_get_shortname (const char* path);
265
265
void utils_delete_file (GFile* file);
266
 
static void _vala_array_add11 (char*** array, int* length, int* size, char* value);
 
266
static void _vala_array_add16 (char*** array, int* length, int* size, char* value);
267
267
gboolean dialogs_confirm_clean_build_files (MainWindow* window, GFile* directory, char** basenames, int basenames_length1);
268
268
gboolean document_goto_line (Document* self, gint line);
269
269
gint document_get_project_id (Document* self);
1223
1223
}
1224
1224
 
1225
1225
 
1226
 
static void _vala_array_add11 (char*** array, int* length, int* size, char* value) {
 
1226
static void _vala_array_add16 (char*** array, int* length, int* size, char* value) {
1227
1227
        if ((*length) == (*size)) {
1228
1228
                *size = (*size) ? (2 * (*size)) : 4;
1229
1229
                *array = g_renew (char*, *array, (*size) + 1);
1294
1294
                                        if (no_confirm) {
1295
1295
                                                utils_delete_file (file);
1296
1296
                                        } else {
1297
 
                                                _vala_array_add11 (&basenames, &basenames_length1, &_basenames_size_, g_strdup (basename));
 
1297
                                                _vala_array_add16 (&basenames, &basenames_length1, &_basenames_size_, g_strdup (basename));
1298
1298
                                        }
1299
1299
                                }
1300
1300
                                _g_object_unref0 (file);