[haiku-commits] r37456 - haiku/trunk/src/tests/kits/net/preflet

  • From: mattmadia@xxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sat, 10 Jul 2010 13:13:27 +0200 (CEST)

Author: mmadia
Date: 2010-07-10 13:13:26 +0200 (Sat, 10 Jul 2010)
New Revision: 37456
Changeset: http://dev.haiku-os.org/changeset/37456/haiku

Modified:
   haiku/trunk/src/tests/kits/net/preflet/Jamfile
   haiku/trunk/src/tests/kits/net/preflet/NetworkSetup.cpp
Log:
Updates for the Catalog API change.

Modified: haiku/trunk/src/tests/kits/net/preflet/Jamfile
===================================================================
--- haiku/trunk/src/tests/kits/net/preflet/Jamfile      2010-07-10 11:08:26 UTC 
(rev 37455)
+++ haiku/trunk/src/tests/kits/net/preflet/Jamfile      2010-07-10 11:13:26 UTC 
(rev 37456)
@@ -1,11 +1,11 @@
 SubDir HAIKU_TOP src tests kits net preflet ;
 
-SimpleTest NetworkSetup : 
-       NetworkSetup.cpp 
+SimpleTest NetworkSetup :
+       NetworkSetup.cpp
        NetworkSetupWindow.cpp
        NetworkSetupProfile.cpp
        NetworkSetupAddOn.cpp
-       : be root $(TARGET_LIBSTDC++) liblocale.so
+       : be root $(TARGET_LIBSTDC++) $(HAIKU_LOCALE_LIBS)
 ;
 
 SubInclude HAIKU_TOP src tests kits net preflet InterfacesAddOn ;

Modified: haiku/trunk/src/tests/kits/net/preflet/NetworkSetup.cpp
===================================================================
--- haiku/trunk/src/tests/kits/net/preflet/NetworkSetup.cpp     2010-07-10 
11:08:26 UTC (rev 37455)
+++ haiku/trunk/src/tests/kits/net/preflet/NetworkSetup.cpp     2010-07-10 
11:13:26 UTC (rev 37456)
@@ -13,14 +13,12 @@
 
 #define APPLICATION_SIGNATURE  "application/x-vnd." SOFTWARE_EDITOR "-" NAME
 
-class Application : public BApplication 
+class Application : public BApplication
 {
        public:
                Application();
 
        public:
-               BCatalog        fCatalog;
-
                void                    ReadyToRun(void);
 };
 
@@ -37,7 +35,6 @@
 Application::Application()
        : BApplication(APPLICATION_SIGNATURE)
 {
-       be_locale->GetAppCatalog(&fCatalog);
 }
 
 


Other related posts:

  • » [haiku-commits] r37456 - haiku/trunk/src/tests/kits/net/preflet - mattmadia