diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-08-09 03:21:35 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-08-09 03:21:35 +0800 |
commit | eb15839a7f90f0ce5aeb3b8c67453e61cfce4c18 (patch) | |
tree | 530e3dc7bc7e8e91f0ddf6c0be5134c5c410c62f /x11/fast-user-switch-applet/files | |
parent | b0904f810552e07753ccce5f706df82173bbf2f3 (diff) | |
download | marcuscom-ports-eb15839a7f90f0ce5aeb3b8c67453e61cfce4c18.tar marcuscom-ports-eb15839a7f90f0ce5aeb3b8c67453e61cfce4c18.tar.gz marcuscom-ports-eb15839a7f90f0ce5aeb3b8c67453e61cfce4c18.tar.bz2 marcuscom-ports-eb15839a7f90f0ce5aeb3b8c67453e61cfce4c18.tar.lz marcuscom-ports-eb15839a7f90f0ce5aeb3b8c67453e61cfce4c18.tar.xz marcuscom-ports-eb15839a7f90f0ce5aeb3b8c67453e61cfce4c18.tar.zst marcuscom-ports-eb15839a7f90f0ce5aeb3b8c67453e61cfce4c18.zip |
Fix functionality with the new GDM.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@9372 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11/fast-user-switch-applet/files')
-rw-r--r-- | x11/fast-user-switch-applet/files/patch-src_gdm-queue.c | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/x11/fast-user-switch-applet/files/patch-src_gdm-queue.c b/x11/fast-user-switch-applet/files/patch-src_gdm-queue.c index a38c96493..cd89dc462 100644 --- a/x11/fast-user-switch-applet/files/patch-src_gdm-queue.c +++ b/x11/fast-user-switch-applet/files/patch-src_gdm-queue.c @@ -1,10 +1,19 @@ ---- src/gdm-queue.c.orig Thu Nov 16 12:39:45 2006 -+++ src/gdm-queue.c Thu Nov 16 12:40:17 2006 -@@ -31,6 +31,7 @@ - #include <sys/socket.h> +--- src/gdm-queue.c.orig 2007-04-09 12:01:03.000000000 -0400 ++++ src/gdm-queue.c 2007-08-08 15:18:12.000000000 -0400 +@@ -32,6 +32,7 @@ + #include <sys/stat.h> #include <sys/un.h> #include <errno.h> +#include <signal.h> #include <stdio.h> #include "gdm-queue.h" +@@ -237,7 +238,7 @@ gboolean gdm_run_queue (void *dummy) + + if (stat (GDM_NEW_SOCKET_FILENAME, &file_stat) == 0) + strcpy (addr.sun_path, GDM_NEW_SOCKET_FILENAME); +- if (stat (GDM_OLD_SOCKET_FILENAME, &file_stat) == 0) ++ else if (stat (GDM_OLD_SOCKET_FILENAME, &file_stat) == 0) + strcpy (addr.sun_path, GDM_OLD_SOCKET_FILENAME); + else + g_error ("Can't find gdm socket!"); |