summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSøren Sandmann Pedersen <ssp@src.gnome.org>2005-05-10 13:07:20 +0000
committerSøren Sandmann Pedersen <ssp@src.gnome.org>2005-05-10 13:07:20 +0000
commite6b3ae64bd1fc9f102a5aa171161eb188eda942c (patch)
treeffad03318d2d56743df7396fcde18c9ade2f0c9d
parent11c056197614443f097aa1f86fb117123b30ba76 (diff)
*** empty log message ***
-rw-r--r--profile.c4
-rw-r--r--sfile.c8
-rw-r--r--sysprof.c5
3 files changed, 11 insertions, 6 deletions
diff --git a/profile.c b/profile.c
index f128ae9..ac98d97 100644
--- a/profile.c
+++ b/profile.c
@@ -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);
diff --git a/sfile.c b/sfile.c
index 7ab8c66..707d413 100644
--- a/sfile.c
+++ b/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;
diff --git a/sysprof.c b/sysprof.c
index dc9bdb7..dd254db 100644
--- a/sysprof.c
+++ b/sysprof.c
@@ -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);