Fixed quark definition code

This commit is contained in:
Gergely Polonkai 2013-09-16 12:20:18 +02:00
parent 86813e61e5
commit 123e0c8a65
2 changed files with 2 additions and 10 deletions

View File

@ -392,11 +392,7 @@ gswe_moment_get_house_system(GsweMoment *moment)
*
* Returns: a GQuark used to identify errors coming from the SWE-GLib API
*/
GQuark
gswe_moment_error_quark(void)
{
return g_quark_from_static_string("swe-glib-gswe-moment-error");
}
G_DEFINE_QUARK(gswe-moment-error-quark, gswe_moment_error);
/**
* gswe_moment_new:

View File

@ -638,11 +638,7 @@ gswe_timestamp_get_julian_day(GsweTimestamp *timestamp, GError **err)
return timestamp->priv->julian_day;
}
GQuark
gswe_timestamp_error_quark(void)
{
return g_quark_from_static_string("swe-glib-gswe-timestamp-error");
}
G_DEFINE_QUARK(gswe-timestamp-error-quark, gswe_timestamp_error);
/**
* gswe_timestamp_new: