gtkmm r1097 - in trunk: . demos/gtk-demo



Author: daniel
Date: Tue Feb 17 19:15:59 2009
New Revision: 1097
URL: http://svn.gnome.org/viewvc/gtkmm?rev=1097&view=rev

Log:
* demos/gtk-demo/demo-common.cc (get_democodedir): Replace deprecated
call to g_win32_get_package_installation_directory() in order to shut
up a code maintenance tool.  Make a mental note about the code being
badly in need of a rewrite.


Modified:
   trunk/ChangeLog
   trunk/demos/gtk-demo/demo-common.cc

Modified: trunk/demos/gtk-demo/demo-common.cc
==============================================================================
--- trunk/demos/gtk-demo/demo-common.cc	(original)
+++ trunk/demos/gtk-demo/demo-common.cc	Tue Feb 17 19:15:59 2009
@@ -7,6 +7,7 @@
 
 #undef DEMOCODEDIR
 
+// TODO: Apply scorched earth tactics on code below.
 static char *
 get_democodedir(void)
 {
@@ -14,7 +15,7 @@
 
   if (result == NULL)
     {
-      result = g_win32_get_package_installation_directory (NULL, NULL);
+      result = g_win32_get_package_installation_directory_of_module(0);
       if (result == NULL)
 	result = "unknown-location";
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]