gcalctool r2377 - in trunk: . gcalctool
- From: rancell svn gnome org
- To: svn-commits-list gnome org
- Subject: gcalctool r2377 - in trunk: . gcalctool
- Date: Sun, 15 Feb 2009 09:02:22 +0000 (UTC)
Author: rancell
Date: Sun Feb 15 09:02:22 2009
New Revision: 2377
URL: http://svn.gnome.org/viewvc/gcalctool?rev=2377&view=rev
Log:
Initialise GType system so usage of GConf doesn't cause crashes (Matthias Clasen, Bug #571581)
Modified:
trunk/ChangeLog
trunk/gcalctool/calctool.c
Modified: trunk/gcalctool/calctool.c
==============================================================================
--- trunk/gcalctool/calctool.c (original)
+++ trunk/gcalctool/calctool.c Sun Feb 15 09:02:22 2009
@@ -196,6 +196,8 @@
{
memset(&calc_state, 0, sizeof(calc_state));
v = &calc_state;
+
+ g_type_init();
bindtextdomain(GETTEXT_PACKAGE, PACKAGE_LOCALE_DIR);
bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]