mirror of
				https://gitlab.gnome.org/GNOME/glib.git
				synced 2025-11-04 10:08:56 +01:00 
			
		
		
		
	Move a confusing comment to the right place
This commit is contained in:
		@@ -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;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user