libbonobo r3446 - in trunk: . bonobo
- From: kmaraas svn gnome org
- To: svn-commits-list gnome org
- Subject: libbonobo r3446 - in trunk: . bonobo
- Date: Fri, 1 Feb 2008 12:40:43 +0000 (GMT)
Author: kmaraas
Date: Fri Feb 1 12:40:42 2008
New Revision: 3446
URL: http://svn.gnome.org/viewvc/libbonobo?rev=3446&view=rev
Log:
2008-02-01 Kjartan Maraas <kmaraas gnome org>
* bonobo/bonobo-exception.h: Fix warnings from gcc 4.3.
Modified:
trunk/ChangeLog
trunk/bonobo/bonobo-exception.h
Modified: trunk/bonobo/bonobo-exception.h
==============================================================================
--- trunk/bonobo/bonobo-exception.h (original)
+++ trunk/bonobo/bonobo-exception.h Fri Feb 1 12:40:42 2008
@@ -77,9 +77,9 @@
}; }G_STMT_END
#endif
-#define BONOBO_EX(ev) ((ev) && (ev)->_major != CORBA_NO_EXCEPTION)
+#define BONOBO_EX(ev) ((ev) != NULL && (ev)->_major != CORBA_NO_EXCEPTION)
-#define BONOBO_USER_EX(ev,id) ((ev) && (ev)->_major == CORBA_USER_EXCEPTION && \
+#define BONOBO_USER_EX(ev,id) ((ev != NULL) && (ev)->_major == CORBA_USER_EXCEPTION && \
(ev)->_id != NULL && !strcmp ((ev)->_id, id))
#define BONOBO_EX_REPOID(ev) (ev)->_id
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]