~didrocks/unity/fixes-natty-finale

« back to all changes in this revision

Viewing changes to src/PlaceFactoryFile.cpp

  • Committer: Neil Jagdish Patel
  • Date: 2011-02-17 16:48:20 UTC
  • mfrom: (867.2.5 dash-fixes)
  • Revision ID: neil.patel@canonical.com-20110217164820-3o991toaxewsu6pl
[merge] this week's dash fixes

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
PlaceFactoryFile::PlaceFactoryFile (const char *directory)
29
29
{
30
30
  //FIXME: This is a temporary Alpha 2 fix
31
 
  g_spawn_command_line_async ("killall unity-files-daemon", NULL);
32
 
  g_spawn_command_line_async ("killall unity-applications-daemon", NULL);
 
31
  g_spawn_command_line_sync ("killall unity-files-daemon", NULL, NULL, NULL, NULL);
 
32
  g_spawn_command_line_sync ("killall unity-applications-daemon", NULL, NULL, NULL, NULL);
33
33
 
34
34
  /* Use the default lookup location */
35
35
  if (directory == NULL)