galeon r8946 - in trunk: . mozilla
- From: philipl svn gnome org
- To: svn-commits-list gnome org
- Subject: galeon r8946 - in trunk: . mozilla
- Date: Sat, 2 Feb 2008 23:10:17 +0000 (GMT)
Author: philipl
Date: Sat Feb 2 23:10:17 2008
New Revision: 8946
URL: http://svn.gnome.org/viewvc/galeon?rev=8946&view=rev
Log:
2008-02-02 Philip Langdale <philipl alumni utexas net>
* mozilla/MozillaPrivate.cpp: XPIDLString isn't
available in gecko 1.9
Modified:
trunk/ChangeLog
trunk/mozilla/MozillaPrivate.cpp
Modified: trunk/mozilla/MozillaPrivate.cpp
==============================================================================
--- trunk/mozilla/MozillaPrivate.cpp (original)
+++ trunk/mozilla/MozillaPrivate.cpp Sat Feb 2 23:10:17 2008
@@ -67,8 +67,10 @@
nsCOMPtr<nsIPrintOptions> po = do_QueryInterface(pss, &rv);
NS_ENSURE_SUCCESS(rv, NULL);
- nsXPIDLString defaultPrinter;
- rv = pss->GetDefaultPrinterName(getter_Copies(defaultPrinter));
+ PRUnichar *uDefaultPrinter;
+ rv = pss->GetDefaultPrinterName(&uDefaultPrinter);
+ nsAutoString defaultPrinter(uDefaultPrinter);
+ NS_Free(uDefaultPrinter);
NS_ENSURE_SUCCESS(rv, NULL);
nsCOMPtr<nsISimpleEnumerator> printers;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]