From 0524fe12e1209b5b1b0cac21f2aca9310a4afe57 Mon Sep 17 00:00:00 2001 From: Christopher Aillon Date: Thu, 6 Dec 2007 19:25:56 +0000 Subject: [PATCH] Fix the patch to account for recent upstream changes --- firefox-2.0-startup-notify.patch | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/firefox-2.0-startup-notify.patch b/firefox-2.0-startup-notify.patch index 0a9215d..bed9346 100644 --- a/firefox-2.0-startup-notify.patch +++ b/firefox-2.0-startup-notify.patch @@ -533,7 +533,7 @@ diff -d -u -p -r1.1492.2.121 configure @@ -1163,7 +1172,7 @@ } - static PRBool + static RemoteResult -RemoteCommandLine() +RemoteCommandLine(const char* aDesktopStartupID) { @@ -654,11 +654,11 @@ diff -d -u -p -r1.1492.2.121 configure if (!PR_GetEnv("MOZ_NO_REMOTE")) { // Try to remote the entire command line. If this fails, start up normally. -- if (RemoteCommandLine()) -+ if (RemoteCommandLine(desktopStartupIDPtr)) +- RemoteResult rr = RemoteCommandLine(); ++ RemoteResult rr = RemoteCommandLine(desktopStartupIDPtr); + if (rr == REMOTE_FOUND) return 0; - } - #endif + else if (rr == REMOTE_ARG_BAD) @@ -2533,6 +2601,13 @@ NS_TIMELINE_LEAVE("appStartup->CreateHiddenWindow"); NS_ENSURE_SUCCESS(rv, 1);