~ubuntu-branches/ubuntu/raring/remmina/raring

« back to all changes in this revision

Viewing changes to src/remminaplug.c

  • Committer: Bazaar Package Importer
  • Author(s): Luca Falavigna
  • Date: 2010-02-20 19:12:35 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20100220191235-dqhfi310glnbu6h2
Tags: 0.7.4-1
* New upstream release.
* Bump Standards-Version to 3.8.4, no changes required.

Show diffs side-by-side

added added

removed removed

Lines of Context:
189
189
 
190
190
    if (gp->printers)
191
191
    {
 
192
        g_ptr_array_foreach (gp->printers, (GFunc) g_free, NULL);
192
193
        g_ptr_array_free (gp->printers, TRUE);
193
194
        gp->printers = NULL;
194
195
    }
466
467
void
467
468
remmina_plug_set_display (RemminaPlug *gp, gint display)
468
469
{
 
470
#ifdef HAVE_LIBSSH
469
471
    if (gp->ssh_tunnel->localdisplay) g_free (gp->ssh_tunnel->localdisplay);
470
472
    gp->ssh_tunnel->localdisplay = g_strdup_printf ("unix:%i", display);
 
473
#endif
471
474
}
472
475