mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
*** empty log message ***
This commit is contained in:
@ -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);
|
||||
|
||||
8
sfile.c
8
sfile.c
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user