diff options
author | Søren Sandmann Pedersen <ssp@src.gnome.org> | 2005-05-10 13:07:20 +0000 |
---|---|---|
committer | Søren Sandmann Pedersen <ssp@src.gnome.org> | 2005-05-10 13:07:20 +0000 |
commit | e6b3ae64bd1fc9f102a5aa171161eb188eda942c (patch) | |
tree | ffad03318d2d56743df7396fcde18c9ade2f0c9d | |
parent | 11c056197614443f097aa1f86fb117123b30ba76 (diff) |
*** empty log message ***
-rw-r--r-- | profile.c | 4 | ||||
-rw-r--r-- | sfile.c | 8 | ||||
-rw-r--r-- | sysprof.c | 5 |
3 files changed, 11 insertions, 6 deletions
@@ -295,7 +295,9 @@ generate_key (Process *process, gulong address) static char * generate_presentation_name (Process *process, gulong address) { - /* FIXME - not10 - using 0 to indicate "process" is broken */ + /* FIXME - not10 + * using 0 to indicate "process" is broken + */ if (address) { const Symbol *symbol = process_lookup_symbol (process, address); @@ -367,7 +367,7 @@ define_type (SType *type, SType fallback) { if (*type == 0) *type = type_ids++; - + return *type; } @@ -592,6 +592,8 @@ struct Instruction { struct { + gboolean is_list; + gboolean is_record; int n_elements; int id; Instruction *end_instruction; @@ -800,8 +802,8 @@ sfile_end_get (SFileInput *file, { Instruction *instruction = file->current_instruction++; - g_return_if_fail (instruction->kind == END && - strcmp (instruction->name, name) == 0); + g_return_if_fail (instruction->kind == END); + g_return_if_fail (strcmp (instruction->name, name) == 0); instruction->u.end.object = object; @@ -190,7 +190,8 @@ update_sensitivity (Application *app) /* "save as" widgets */ gtk_widget_set_sensitive (GTK_WIDGET (app->save_as_button), sensitive_save_as_button); - gtk_widget_set_sensitive (app->save_as_item, sensitive_save_as_button); + gtk_widget_set_sensitive (app->save_as_item, + sensitive_save_as_button); /* "start" widgets */ gtk_widget_set_sensitive (GTK_WIDGET (app->start_button), @@ -1366,7 +1367,7 @@ main (int argc, char **argv) { FileOpenData *file_open_data = g_new0 (FileOpenData, 1); -file_open_data->filename = argv[1]; + file_open_data->filename = argv[1]; file_open_data->app = app; g_idle_add (load_file, file_open_data); |