mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 23:16:14 +01:00
Move a confusing comment to the right place
This commit is contained in:
parent
b0e45c9799
commit
7c735b05f7
@ -884,12 +884,6 @@ g_application_register (GApplication *application,
|
||||
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,
|
||||
|
@ -271,6 +271,9 @@ g_application_impl_register (GApplication *application,
|
||||
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user