[spinner] Remove SparkleLib reference

This commit is contained in:
Hylke Bons 2010-11-27 22:03:26 +00:00
parent 71017990a9
commit cc95142753
2 changed files with 2 additions and 4 deletions

View file

@ -47,10 +47,9 @@ namespace SparkleShare {
// Use translations
Catalog.Init (Defines.GETTEXT_PACKAGE, Defines.LOCALE_DIR);
UnixUserInfo user_info = new UnixUserInfo (UnixEnvironment.UserName);
// Don't allow running as root
if (user_info.UserId == 0) {
if (new UnixUserInfo (UnixEnvironment.UserName).UserId == 0) {
Console.WriteLine (_("Sorry, you can't run SparkleShare with these permissions."));
Console.WriteLine (_("Things would go utterly wrong."));

View file

@ -16,7 +16,6 @@
using Gtk;
using System.Timers;
using SparkleLib;
namespace SparkleShare {