mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
Remove "loading and saving"
Fri Mar 25 19:39:24 2005 Søren Sandmann <sandmann@redhat.com> * TODO: Remove "loading and saving" * sysprof.glade: Add ellipsises to Open and Save menu items. * sysprof.c (overwrite_file): Add this function, cutted-and-pasted from evince. * sysprof.c (on_save_as_clicked, on_open_clicked): Use GtkFileChoosers to pick the names. * sysprof.c: Various GUI updates.
This commit is contained in:
committed by
Søren Sandmann Pedersen
parent
50c62b0804
commit
0901851c45
@ -163,9 +163,7 @@ make_hash_table (Node *node, GHashTable *table)
|
||||
node->next = g_hash_table_lookup (table, node->object);
|
||||
g_hash_table_insert (table, node->object, node);
|
||||
|
||||
g_print ("added %s\n", node->object->name);
|
||||
|
||||
g_assert (node->siblings != 0x11);
|
||||
g_assert (node->siblings != (void *)0x11);
|
||||
|
||||
make_hash_table (node->siblings, table);
|
||||
make_hash_table (node->children, table);
|
||||
@ -230,7 +228,7 @@ profile_load (const char *filename, GError **err)
|
||||
if (!profile->call_tree)
|
||||
profile->call_tree = node;
|
||||
|
||||
g_assert (node->siblings != 0x11);
|
||||
g_assert (node->siblings != (void *)0x11);
|
||||
}
|
||||
sfile_end_get (input, "nodes", NULL);
|
||||
sfile_end_get (input, "profile", NULL);
|
||||
|
||||
Reference in New Issue
Block a user