Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/cut-n-paste/smclient/eggdesktopfile.c
diff options
context:
space:
mode:
authorCarlos Garcia Campos <carlosgc@gnome.org>2009-02-05 09:44:50 (GMT)
committer Carlos Garcia Campos <carlosgc@src.gnome.org>2009-02-05 09:44:50 (GMT)
commit841369ba5c77e58a6fa19723b33d04720a7d4fec (patch)
tree1c50e5522fdb8994fe3a203c3fe29d5c6843bc2b /cut-n-paste/smclient/eggdesktopfile.c
parentee88daeea5519ca669244684877effbcea42fb56 (diff)
Make session manager code compile for w32. These changes have been taken
2009-02-05 Carlos Garcia Campos <carlosgc@gnome.org> * configure.ac: * cut-n-paste/smclient/Makefile.am: * cut-n-paste/smclient/eggdesktopfile.c: * cut-n-paste/smclient/eggsmclient-win32.c: * shell/main.c: Make session manager code compile for w32. These changes have been taken from upstream libegg. Based on patch by Hib Eris. See bug #339172. svn path=/trunk/; revision=3416
Diffstat (limited to 'cut-n-paste/smclient/eggdesktopfile.c')
-rw-r--r--cut-n-paste/smclient/eggdesktopfile.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/cut-n-paste/smclient/eggdesktopfile.c b/cut-n-paste/smclient/eggdesktopfile.c
index e889305..1a20e96 100644
--- a/cut-n-paste/smclient/eggdesktopfile.c
+++ b/cut-n-paste/smclient/eggdesktopfile.c
@@ -987,7 +987,7 @@ end_startup_notification (GdkDisplay *display,
NULL);
}
-#define EGG_DESKTOP_FILE_SN_TIMEOUT_LENGTH (30 /* seconds */ * 1000)
+#define EGG_DESKTOP_FILE_SN_TIMEOUT_LENGTH (30 /* seconds */)
typedef struct {
GdkDisplay *display;
@@ -1017,8 +1017,8 @@ set_startup_notification_timeout (GdkDisplay *display,
sn_data->display = g_object_ref (display);
sn_data->startup_id = g_strdup (startup_id);
- g_timeout_add (EGG_DESKTOP_FILE_SN_TIMEOUT_LENGTH,
- startup_notification_timeout, sn_data);
+ g_timeout_add_seconds (EGG_DESKTOP_FILE_SN_TIMEOUT_LENGTH,
+ startup_notification_timeout, sn_data);
}
#endif /* GTK 2.12 */