build: Use right version of main loop on Ubuntu

This commit is contained in:
Hylke Bons 2017-07-31 12:25:23 +01:00
parent 093164e392
commit a6a681c5bc

View file

@ -20,9 +20,11 @@ using System;
using Gtk;
using Sparkles;
namespace SparkleShare {
namespace SparkleShare
{
public class UserInterface {
public class UserInterface
{
public static string AssetsPath = InstallationInfo.Directory;
@ -68,7 +70,10 @@ namespace SparkleShare {
(application as GLib.Application).Run (0, null);
#endif
} else {
#if HAVE_APP_INDICATOR
#else
(application as GLib.Application).Run ("org.sparkleshare.SparkleShare", new string [0]);
#endif
}
}