~darkxst/ubuntu/saucy/gdm/lp1212408

« back to all changes in this revision

Viewing changes to gui/gdmdynamic.c

  • Committer: Bazaar Package Importer
  • Author(s): Josselin Mouette
  • Date: 2008-09-02 10:37:20 UTC
  • mfrom: (1.4.27 upstream)
  • mto: This revision was merged to the branch mainline in revision 261.
  • Revision ID: james.westby@ubuntu.com-20080902103720-p810vv530hqj45wg
Tags: 2.20.7-3
* Install the debian-moreblue-orbit theme, thanks Andre Luiz Rodrigues 
  Ferreira. Closes: #497440.
* 35_gdm.conf.patch: make it the default.
* copyright: fix encoding.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 *    GDMcommunication routines
3
 
 *    (c)2001 Queen of England, (c)2002,2003 George Lebl
 
1
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*-
 
2
 *
 
3
 *    gdmdynamic
 
4
 *    (C) 2005-2007 Sun Microsystems, Inc.
4
5
 *    
5
6
 *    This program is free software; you can redistribute it and/or modify
6
7
 *    it under the terms of the GNU General Public License as published by
40
41
#include "gdmcommon.h"
41
42
#include "gdmconfig.h"
42
43
 
 
44
#include "gdm-common.h"
 
45
#include "gdm-log.h"
 
46
#include "gdm-socket-protocol.h"
 
47
#include "gdm-daemon-config-keys.h"
 
48
 
43
49
static char *myname = NULL;  /* name of this program */
44
50
 
45
51
static void
153
159
    }
154
160
 
155
161
    /* process remaining option arguments for -l */
156
 
    if (command == GDM_SUP_ATTACHED_SERVERS)
 
162
    if (command != NULL && strcmp (command, GDM_SUP_ATTACHED_SERVERS) == 0)
157
163
        for (; optind<argc; optind++)
158
164
            params = argv[optind];
159
165
 
168
174
        }
169
175
    }
170
176
 
171
 
    gdmcomm_set_debug (verbose);
 
177
    gdm_log_init ();
 
178
    gdm_log_set_debug (verbose);
 
179
 
172
180
    /*
173
181
     * If verbose is not on, then set quiet errors to TRUE since
174
182
     * errors are expected and managed by gdmdynamic, so we want