summaryrefslogtreecommitdiff
path: root/sysprof.c
diff options
context:
space:
mode:
authorSøren Sandmann Pedersen <sandmann@daimi.au.dk>2009-08-22 04:08:57 -0400
committerSøren Sandmann Pedersen <sandmann@daimi.au.dk>2009-08-22 06:07:42 -0400
commita7a1ab3081f58557a5997a667d713186f1217e7f (patch)
tree15e608401198e653bde3cea6a10c9a32bddd5452 /sysprof.c
parent1e332ab35a840eff97301f74c48404966597fc78 (diff)
Remove unused profile_from_file variable
Diffstat (limited to 'sysprof.c')
-rw-r--r--sysprof.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/sysprof.c b/sysprof.c
index 794f587..615ca9a 100644
--- a/sysprof.c
+++ b/sysprof.c
@@ -94,21 +94,6 @@ struct Application
char * loaded_profile;
gboolean inhibit_forced_redraw;
- gboolean profile_from_file; /* FIXME - not10: This is a kludge. Figure out how
- * to maintain the application model properly
- *
- * The fundamental issue is that the state of
- * widgets is controlled by two different
- * entities:
- *
- * The user clicks on them, changing their
- * state.
- *
- * The application model changes, changing their
- * state.
- *
- * Model/View/Controller is a possibility.
- */
};
static void update_screenshot_window (Application *app);
@@ -331,7 +316,6 @@ delete_data (Application *app)
collector_reset (app->collector);
- app->profile_from_file = FALSE;
set_application_title (app, NULL);
}
@@ -830,7 +814,6 @@ set_loaded_profile (Application *app,
delete_data (app);
app->profile = profile;
- app->profile_from_file = TRUE;
set_application_title (app, name);