Commit a8251468 authored by W. Michael Petullo's avatar W. Michael Petullo

Backport from 4.0 series: replace use of deprecated G_CONST_RETURN

parent 0fa30fab
......@@ -278,7 +278,7 @@ dmap_mdns_browser_stop (DMAPMdnsBrowser * browser, GError ** error)
return TRUE;
}
G_CONST_RETURN GSList *
const GSList *
dmap_mdns_browser_get_services (DMAPMdnsBrowser * browser)
{
g_return_val_if_fail (browser != NULL, NULL);
......
......@@ -565,7 +565,7 @@ dmap_mdns_browser_error_quark (void)
return quark;
}
G_CONST_RETURN GSList *
const GSList *
dmap_mdns_browser_get_services (DMAPMdnsBrowser * browser)
{
g_return_val_if_fail (browser != NULL, NULL);
......
......@@ -176,8 +176,7 @@ gboolean dmap_mdns_browser_start (DMAPMdnsBrowser * browser, GError ** error);
*/
gboolean dmap_mdns_browser_stop (DMAPMdnsBrowser * browser, GError ** error);
G_CONST_RETURN GSList *dmap_mdns_browser_get_services (DMAPMdnsBrowser *
browser);
const GSList *dmap_mdns_browser_get_services (DMAPMdnsBrowser * browser);
DMAPMdnsBrowserServiceType dmap_mdns_browser_get_service_type (DMAPMdnsBrowser
* browser);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment