Add parentheses to G_OBJECT

This commit is contained in:
amai2012 2019-02-16 00:19:00 +01:00
parent e3083ade52
commit ac0d39a164
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@
<define name="G_CALLBACK(cb)" value="cb"/> <define name="G_CALLBACK(cb)" value="cb"/>
<define name="G_LIKELY(expr)" value="(expr)"/> <define name="G_LIKELY(expr)" value="(expr)"/>
<define name="G_UNLIKELY(expr)" value="(expr)"/> <define name="G_UNLIKELY(expr)" value="(expr)"/>
<define name="G_OBJECT(obj)" value="(GObject*)obj"/> <define name="G_OBJECT(obj)" value="(GObject*)(obj)"/>
<!-- https://developer.gnome.org/glib/stable/glib-Type-Conversion-Macros.html --> <!-- https://developer.gnome.org/glib/stable/glib-Type-Conversion-Macros.html -->
<define name="GINT_TO_POINTER(i)" value="((gpointer) (glong) (i))"/> <define name="GINT_TO_POINTER(i)" value="((gpointer) (glong) (i))"/>
<define name="GPOINTER_TO_INT(p)" value="((gint) (glong) (p))"/> <define name="GPOINTER_TO_INT(p)" value="((gint) (glong) (p))"/>