Re: [gnome-db] [PATCH] Use right macro, as those are void functions
Vivien Malerba <[email protected]> Wed, 10 Feb 2016 16:10:03 +0100
| Newsgroups | gmane.comp.gnome.db |
|---|---|
| Message-ID | <CAEP1ZNm_F6zfjTtp4p_6O0jiTwEprZ+O5J=dv8LavAu-kN7bgA@mail.gmail.com> |
--===============2798552356123244402== Content-Type: multipart/alternative; boundary=001a11c33c021e7e3d052b6bd4ad --001a11c33c021e7e3d052b6bd4ad Content-Type: text/plain; charset=UTF-8 Thanks again! Vivien 2016-02-10 0:11 GMT+01:00 Arthur Neves <[email protected]>: > I was getting the following error when making the project: > > ui-customize.c:109:2: error: void function 'customization_data_init' > should not return a value [-Wreturn-type] > g_return_val_if_fail (G_IS_OBJECT (object), NULL); > > > I changed to use the right macro, as those two functions are void. > > Thanks > > _______________________________________________ > gnome-db-list mailing list > [email protected] > https://mail.gnome.org/mailman/listinfo/gnome-db-list > > --001a11c33c021e7e3d052b6bd4ad Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:arial,he= lvetica,sans-serif">Thanks again!<br></div><div class=3D"gmail_default" sty= le=3D"font-family:arial,helvetica,sans-serif">Vivien<br></div></div><div cl= ass=3D"gmail_extra"><br><div class=3D"gmail_quote">2016-02-10 0:11 GMT+01:0= 0 Arthur Neves <span dir=3D"ltr"><<a href=3D"mailto:[email protected]" = target=3D"_blank">[email protected]</a>></span>:<br><blockquote class= =3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd= ing-left:1ex"><div dir=3D"ltr">I was getting the following error when makin= g the project:<div><br></div><div><div>ui-customize.c:109:2: error: void fu= nction 'customization_data_init' should not return a value [-Wretur= n-type]</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 g_return_val_if_fail (G_IS_OB= JECT (object), NULL);</div></div><div><br></div><div><br></div><div>I chang= ed to use the right macro, as those two functions are void.</div><div><br><= /div><div>Thanks</div></div> <br>_______________________________________________<br> gnome-db-list mailing list<br> <a href=3D"mailto:[email protected]">[email protected]</a><br> <a href=3D"https://mail.gnome.org/mailman/listinfo/gnome-db-list" rel=3D"no= referrer" target=3D"_blank">https://mail.gnome.org/mailman/listinfo/gnome-d= b-list</a><br> <br></blockquote></div><br></div> --001a11c33c021e7e3d052b6bd4ad-- --===============2798552356123244402== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ gnome-db-list mailing list [email protected] https://mail.gnome.org/mailman/listinfo/gnome-db-list --===============2798552356123244402==--