Merge lp:~bratsche/xsplash/help-fix into lp:xsplash

Proposed by Cody Russell
Status: Merged
Merged at revision: not available
Proposed branch: lp:~bratsche/xsplash/help-fix
Merge into: lp:xsplash
Diff against target: 37 lines
1 file modified
src/xsplash.c (+10/-10)
To merge this branch: bzr merge lp:~bratsche/xsplash/help-fix
Reviewer Review Type Date Requested Status
Ted Gould (community) Approve
Review via email: mp+14443@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Ted Gould (ted) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'src/xsplash.c'
--- src/xsplash.c 2009-10-21 13:06:01 +0000
+++ src/xsplash.c 2009-11-04 22:25:18 +0000
@@ -984,6 +984,16 @@
984 gchar *log_filename = NULL;984 gchar *log_filename = NULL;
985 struct passwd *pwd;985 struct passwd *pwd;
986986
987 context = g_option_context_new ("xsplash");
988 g_option_context_add_main_entries (context,
989 entries,
990 "xsplash");
991 g_option_context_add_group (context, gtk_get_option_group (TRUE));
992 if (!g_option_context_parse (context, &argc, &argv, &error))
993 {
994 exit (1);
995 }
996
987 pwd = getpwnam (XSPLASH_USER);997 pwd = getpwnam (XSPLASH_USER);
988 if (pwd == NULL)998 if (pwd == NULL)
989 {999 {
@@ -1003,16 +1013,6 @@
1003 return 1;1013 return 1;
1004 }1014 }
10051015
1006 context = g_option_context_new ("xsplash");
1007 g_option_context_add_main_entries (context,
1008 entries,
1009 "xsplash");
1010 g_option_context_add_group (context, gtk_get_option_group (TRUE));
1011 if (!g_option_context_parse (context, &argc, &argv, &error))
1012 {
1013 exit (1);
1014 }
1015
1016 log_filename = g_strdup_printf ("/var/log/gdm/xsplash-%s.log", gdm_session ? "gdm" : "user");1016 log_filename = g_strdup_printf ("/var/log/gdm/xsplash-%s.log", gdm_session ? "gdm" : "user");
1017 log_init (log_filename); g_message ("xsplash started");1017 log_init (log_filename); g_message ("xsplash started");
1018 g_free (log_filename);1018 g_free (log_filename);

Subscribers

People subscribed via source and target branches