summaryrefslogtreecommitdiff
path: root/src/mate-screensaver.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mate-screensaver.c')
-rw-r--r--src/mate-screensaver.c14
1 files changed, 4 insertions, 10 deletions
diff --git a/src/mate-screensaver.c b/src/mate-screensaver.c
index cee3a97..04add35 100644
--- a/src/mate-screensaver.c
+++ b/src/mate-screensaver.c
@@ -14,8 +14,8 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
- * 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301, USA.
*
* Authors: William Jon McCann <[email protected]>
*
@@ -48,7 +48,7 @@ int main(int argc, char **argv)
GError* error = NULL;
static gboolean show_version = FALSE;
- static gboolean no_daemon = FALSE;
+ static gboolean no_daemon = TRUE;
static gboolean debug = FALSE;
static GOptionEntry entries[] = {
@@ -88,7 +88,7 @@ int main(int argc, char **argv)
}
/* debug to a file if in deamon mode */
- gs_debug_init(debug, !no_daemon);
+ gs_debug_init(debug, FALSE);
gs_debug("initializing mate-screensaver %s", VERSION);
monitor = gs_monitor_new();
@@ -115,12 +115,6 @@ int main(int argc, char **argv)
exit(1);
}
- /* Don't close stdout and stderr for now */
- if (!no_daemon && daemon(0, 1))
- {
- g_error("Could not daemonize: %s", g_strerror (errno));
- }
-
gtk_main();
g_object_unref(monitor);