pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/53397: crash in xfsettingsd



The following reply was made to PR pkg/53397; it has been noted by GNATS.

From: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/53397: crash in xfsettingsd
Date: Tue, 26 Jun 2018 08:29:43 +0200

 This patch seems to help, and it makes the "Appearance" applet work a bit
 better.
 
 Martin
 
 --- ./libupower-glib/up-client.c.orig
 +++ ./libupower-glib/up-client.c
 @@ -205,6 +205,7 @@ gboolean
  up_client_get_lid_is_closed (UpClient *client)
  {
  	g_return_val_if_fail (UP_IS_CLIENT (client), FALSE);
 +	if (!client->priv || !client->priv->proxy) return FALSE;
  	return up_exported_daemon_get_lid_is_closed (client->priv->proxy);
  }
  
 


Home | Main Index | Thread Index | Old Index