Hi people,

the attached patch fixes the deprecation of sizehintshonor in favor of
honor_size_hints in client.c. This is in reply to FS#428

-- 
    Gregor Best
From 924925da81a225ff6bec8d2e51ff89a17288078b Mon Sep 17 00:00:00 2001
From: Gregor Best <[email protected]>
Date: Sun, 11 Jan 2009 15:48:14 +0100
Subject: [PATCH] client.c: fix deprecation of honorsizehints

Signed-off-by: Gregor Best <[email protected]>
---
 client.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/client.c b/client.c
index cb8da27..d8b84a0 100644
--- a/client.c
+++ b/client.c
@@ -1506,6 +1506,8 @@ luaA_client_newindex(lua_State *L)
         client_setsticky(*c, luaA_checkboolean(L, 3));
         break;
       case A_TK_HONORSIZEHINTS:
+        luaA_deprecate(L, "size_hints_honor");
+      case A_TK_SIZE_HINTS_HONOR:
         (*c)->size_hints_honor = luaA_checkboolean(L, 3);
         client_need_arrange(*c);
         break;
-- 
1.6.1

Attachment: signature.asc
Description: PGP signature

Reply via email to