diff options
author | Vincent Geddes <vgeddes@src.gnome.org> | 2007-07-09 18:34:07 +0000 |
---|---|---|
committer | Vincent Geddes <vgeddes@src.gnome.org> | 2007-07-09 18:34:07 +0000 |
commit | 57f71bdbf50a280c2be45ce3d05ac776982cff7f (patch) | |
tree | 02a4d9c14294bbff62f2674f3430299eea13e870 | |
parent | b9e15e46a6da30aa9dd18d121157ade3aea8c13b (diff) | |
download | glade-57f71bdbf50a280c2be45ce3d05ac776982cff7f.tar.gz |
Initialize threading system (#406039).
* configure.ac, src/main.c: Initialize threading system (#406039).
* gladeui/glade-project.c: Remove user name and host
from comment in glade file (#453174).
svn path=/trunk/; revision=1441
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | gladeui/glade-project.c | 4 | ||||
-rw-r--r-- | src/main.c | 3 |
4 files changed, 13 insertions, 3 deletions
@@ -1,3 +1,10 @@ +2007-07-09 Vincent Geddes <vgeddes@gnome.org> + + * configure.ac, src/main.c: Initialize threading system (#406039). + + * gladeui/glade-project.c: Remove user name and host + from comment in glade file (#453174). + 2007-07-07 Vincent Geddes <vgeddes@gnome.org> * configure.ac: Increment version to 3.3.2 as we modified API diff --git a/configure.ac b/configure.ac index 90d8538e..8fcaf34e 100644 --- a/configure.ac +++ b/configure.ac @@ -116,7 +116,7 @@ GTK_DOC_CHECK(1.4) dnl ================================================================ dnl Check for gtk+ dnl ================================================================ -PKG_CHECK_MODULES(GTK, [gtk+-2.0 >= 2.10.0 libxml-2.0 >= 2.4.0]) +PKG_CHECK_MODULES(GTK, [gtk+-2.0 >= 2.10.0 gthread-2.0 libxml-2.0 >= 2.4.0]) AC_SUBST(GTK_LIBS) AC_SUBST(GTK_CFLAGS) diff --git a/gladeui/glade-project.c b/gladeui/glade-project.c index 88ecc60a..58a240f7 100644 --- a/gladeui/glade-project.c +++ b/gladeui/glade-project.c @@ -1421,8 +1421,8 @@ glade_project_make_comment () { time_t now = time (NULL); gchar *comment; - comment = g_strdup_printf (GLADE_XML_COMMENT" "PACKAGE_VERSION" on %sby %s@%s", - ctime (&now), g_get_user_name (), g_get_host_name ()); + comment = g_strdup_printf (GLADE_XML_COMMENT" "PACKAGE_VERSION" on %s", + ctime (&now)); glade_util_replace (comment, '\n', ' '); return comment; @@ -77,6 +77,9 @@ main (int argc, char *argv[]) GOptionGroup *option_group; GError *error = NULL; + if (!g_thread_supported ()) + g_thread_init (NULL); + #ifdef ENABLE_NLS setlocale (LC_ALL, ""); bindtextdomain (GETTEXT_PACKAGE, glade_app_get_locale_dir ()); |