~xpad-team/xpad/trunk

« back to all changes in this revision

Viewing changes to src/xpad-pad.c

  • Committer: Arthur Borsboom
  • Date: 2014-06-14 17:23:50 UTC
  • mfrom: (665.1.39 xpad-4.3)
  • Revision ID: arthurborsboom@gmail.com-20140614172350-y9xnw2056a79qji0
Fix: Technical - Prevented an error on exit when disconnecting a signal handler
Fix: use the specific function of glib to get the homedir

Show diffs side-by-side

added added

removed removed

Lines of Context:
402
402
{
403
403
        XpadPad *pad = XPAD_PAD (object);
404
404
 
405
 
        if (xpad_global_settings != NULL)
 
405
        if (xpad_global_settings)
406
406
                g_signal_handlers_disconnect_matched (xpad_global_settings, G_SIGNAL_MATCH_DATA, 0, 0, NULL, NULL, pad);
407
407
 
408
408
        g_free (pad->priv->infoname);