Re: [PATCH] emacs: wash: make word-wrap bound message width
[notmuch-archives.git] / a2 / 58cc1a290f8b476bc9c0ff8e7f8ba33a09a696
1 Return-Path: <too@guru-group.fi>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id 1B752431FAE\r
6         for <notmuch@notmuchmail.org>; Fri,  7 Jun 2013 07:08:29 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
12         autolearn=disabled\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id hO7A1lsYKM2N for <notmuch@notmuchmail.org>;\r
16         Fri,  7 Jun 2013 07:08:17 -0700 (PDT)\r
17 Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])\r
18         by olra.theworths.org (Postfix) with ESMTP id 60ECD431FAF\r
19         for <notmuch@notmuchmail.org>; Fri,  7 Jun 2013 07:08:17 -0700 (PDT)\r
20 Received: by guru.guru-group.fi (Postfix, from userid 501)\r
21         id 328301001F1; Fri,  7 Jun 2013 17:08:12 +0300 (EEST)\r
22 From: Tomi Ollila <tomi.ollila@iki.fi>\r
23 To: notmuch@notmuchmail.org\r
24 Subject: [PATCH 1/1] cli: Guard deprecated g_type_init calls\r
25 Date: Fri,  7 Jun 2013 17:08:10 +0300\r
26 Message-Id: <1370614090-1715-1-git-send-email-tomi.ollila@iki.fi>\r
27 X-Mailer: git-send-email 1.8.0\r
28 Cc: tomi.ollila@iki.fi\r
29 X-BeenThere: notmuch@notmuchmail.org\r
30 X-Mailman-Version: 2.1.13\r
31 Precedence: list\r
32 List-Id: "Use and development of the notmuch mail system."\r
33         <notmuch.notmuchmail.org>\r
34 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
35         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
36 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
37 List-Post: <mailto:notmuch@notmuchmail.org>\r
38 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
39 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
40         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
41 X-List-Received-Date: Fri, 07 Jun 2013 14:08:29 -0000\r
42 \r
43 g_type_init was deprecated in GLib 2.35.1.  In order to compile\r
44 cleanly, guard these with a suitable #if.\r
45 \r
46 (commit msg from https://bugs.freedesktop.org/attachment.cgi?id=73774 )\r
47 ---\r
48  notmuch.c | 3 ++-\r
49  1 file changed, 2 insertions(+), 1 deletion(-)\r
50 \r
51 diff --git a/notmuch.c b/notmuch.c\r
52 index 99ddd6d..f9902ed 100644\r
53 --- a/notmuch.c\r
54 +++ b/notmuch.c\r
55 @@ -291,8 +291,9 @@ main (int argc, char *argv[])\r
56      local = talloc_new (NULL);\r
57  \r
58      g_mime_init (0);\r
59 +#if !GLIB_CHECK_VERSION(2, 35, 1)\r
60      g_type_init ();\r
61 -\r
62 +#endif\r
63      /* Globally default to the current output format version. */\r
64      notmuch_format_version = NOTMUCH_FORMAT_CUR;\r
65  \r
66 -- \r
67 1.8.0\r
68 \r