emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] xwidget_mvp 9ffa069 2/4: changed returntype of valid_xwidg


From: Joakim Verona
Subject: [Emacs-diffs] xwidget_mvp 9ffa069 2/4: changed returntype of valid_xwidget_spec_p to bool
Date: Fri, 13 Feb 2015 13:00:56 +0000

branch: xwidget_mvp
commit 9ffa069370f8ef8a020cb84bcd7350e3ac2e9694
Author: Joakim Verona <address@hidden>
Commit: Joakim Verona <address@hidden>

    changed returntype of valid_xwidget_spec_p to bool
---
 src/xwidget.c |    6 +++---
 src/xwidget.h |    2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/xwidget.c b/src/xwidget.c
index 93f2d51..58685a1 100644
--- a/src/xwidget.c
+++ b/src/xwidget.c
@@ -1135,13 +1135,13 @@ syms_of_xwidget (void)
    supported xwidget type.  The rest of the property list depends on the
    xwidget type.  */
 
-int
+bool
 valid_xwidget_spec_p (Lisp_Object object)
 {
-  int valid_p = 0;
+  int valid_p = false;
 
   if (CONSP (object) && EQ (XCAR (object), Qxwidget))
-      valid_p = 1;
+      valid_p = true;
 
   return valid_p;
 }
diff --git a/src/xwidget.h b/src/xwidget.h
index 8f5fa0a..493000c 100644
--- a/src/xwidget.h
+++ b/src/xwidget.h
@@ -26,7 +26,7 @@ void syms_of_xwidget (void);
 //extern Lisp_Object Qxwidget;
 
 
-int valid_xwidget_spec_p (Lisp_Object object);
+bool valid_xwidget_spec_p (Lisp_Object object);
 
 #include <gtk/gtk.h>
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]