Re: [RFC] gvfs connected servers



On Thu, 2008-10-09 at 11:23 +0200, Alexander Larsson wrote:

> 
>  if (volume->volume_monitor != NULL)
> -    g_object_unref (volume->volume_monitor);
> +    {
> +      g_signal_handlers_disconnect_by_func (volume->union_monitor, union_monitor_mount_added, volume);
> +      g_signal_handlers_disconnect_by_func (volume->union_monitor, union_monitor_mount_removed, volume);
> +      g_signal_handlers_disconnect_by_func (volume->union_monitor, union_monitor_mount_changed, volume);
> +      g_object_unref (volume->volume_monitor);
> +    }
>  
> +  if (volume->union_monitor != NULL)
> +    g_object_unref (volume->union_monitor);
> 
> These two seems to mix up volume_monitor and union_monitor.

Ha, I noticed that too, but was too shy to say something :-)





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]