if (!application->priv->is_registered)
{
gboolean is_remote;
- gboolean try;
-
- /* don't try to be the primary instance if
- * G_APPLICATION_IS_LAUNCHER was specified.
- */
- try = !(application->priv->flags & G_APPLICATION_IS_LAUNCHER);
application->priv->impl =
g_application_impl_register (application, application->priv->id,
impl->object_path = application_path_from_appid (appid);
+ /* don't try to be the primary instance if
+ * G_APPLICATION_IS_LAUNCHER was specified.
+ */
if (flags & G_APPLICATION_IS_LAUNCHER)
{
impl->object_id = 0;