yelp r3027 - in trunk: . src
- From: dscorgie svn gnome org
- To: svn-commits-list gnome org
- Subject: yelp r3027 - in trunk: . src
- Date: Thu, 10 Jan 2008 20:32:29 +0000 (GMT)
Author: dscorgie
Date: Thu Jan 10 20:32:28 2008
New Revision: 3027
URL: http://svn.gnome.org/viewvc/yelp?rev=3027&view=rev
Log:
* src/yelp-gecko-services.cpp:
Fix crash on shutdown using xulrunner 1.8.x
(bug #503317 - Markus Kanet)
Modified:
trunk/ChangeLog
trunk/src/yelp-gecko-services.cpp
Modified: trunk/src/yelp-gecko-services.cpp
==============================================================================
--- trunk/src/yelp-gecko-services.cpp (original)
+++ trunk/src/yelp-gecko-services.cpp Thu Jan 10 20:32:28 2008
@@ -415,18 +415,18 @@
NS_GENERIC_FACTORY_CONSTRUCTOR(GPrintingPromptService)
-void
-yelp_register_printing ()
-{
- const nsModuleComponentInfo sAppComps[] = {
+static const nsModuleComponentInfo sAppComps[] = {
{
- G_PRINTINGPROMPTSERVICE_CLASSNAME,
- G_PRINTINGPROMPTSERVICE_CID,
- G_PRINTINGPROMPTSERVICE_CONTRACTID,
- GPrintingPromptServiceConstructor
+ G_PRINTINGPROMPTSERVICE_CLASSNAME,
+ G_PRINTINGPROMPTSERVICE_CID,
+ G_PRINTINGPROMPTSERVICE_CONTRACTID,
+ GPrintingPromptServiceConstructor
},
- };
+};
+void
+yelp_register_printing ()
+{
nsresult rv;
nsCOMPtr<nsIComponentRegistrar> cr;
rv = NS_GetComponentRegistrar(getter_AddRefs(cr));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]