mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
Use APPLICATION_NAME macro
Mon Oct 31 00:22:58 2005 Soeren Sandmann <sandmann@redhat.com> * sysprof.c (set_application_title): Use APPLICATION_NAME macro * sysprof.c (load_file): Don't leak the FileOpenData * TODO: updates
This commit is contained in:
committed by
Søren Sandmann Pedersen
parent
c34a9b862f
commit
ec8798a8b1
@ -271,7 +271,7 @@ set_application_title (Application *app,
|
||||
else
|
||||
{
|
||||
gtk_window_set_title (GTK_WINDOW (app->main_window),
|
||||
"System Collector");
|
||||
APPLICATION_NAME);
|
||||
}
|
||||
}
|
||||
|
||||
@ -1331,6 +1331,8 @@ load_file (gpointer data)
|
||||
g_error_free (err);
|
||||
}
|
||||
|
||||
g_free (file_open_data);
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
@ -1351,7 +1353,6 @@ main (int argc, char **argv)
|
||||
if (argc > 1)
|
||||
{
|
||||
FileOpenData *file_open_data = g_new0 (FileOpenData, 1);
|
||||
|
||||
file_open_data->filename = argv[1];
|
||||
file_open_data->app = app;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user