devhelp r1213 - in trunk: . src



Author: rhult
Date: Sat Oct 11 06:44:35 2008
New Revision: 1213
URL: http://svn.gnome.org/viewvc/devhelp?rev=1213&view=rev

Log:
2008-10-11  Richard Hult  <richard imendio com>

	* src/dh-base.c: (dh_base_init): Add missing NULL terminator.


Modified:
   trunk/ChangeLog
   trunk/src/dh-base.c

Modified: trunk/src/dh-base.c
==============================================================================
--- trunk/src/dh-base.c	(original)
+++ trunk/src/dh-base.c	Sat Oct 11 06:44:35 2008
@@ -25,6 +25,7 @@
 #include <gtk/gtk.h>
 
 #ifdef GDK_WINDOWING_X11
+#include <unistd.h>
 #include <gdk/gdkx.h>
 #define WNCK_I_KNOW_THIS_IS_UNSTABLE
 #include <libwnck/libwnck.h>
@@ -95,7 +96,7 @@
         gchar      *path;
 
         conf = ige_conf_get ();
-        path = dh_util_build_data_filename ("devhelp", "devhelp.defaults");
+        path = dh_util_build_data_filename ("devhelp", "devhelp.defaults", NULL);
         ige_conf_add_defaults (conf, path);
         g_free (path);
 



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