]> git.meshlink.io Git - catta/blobdiff - avahi-gobject/ga-service-browser.h
gobject: ga_service_browser_new() should accept const gchar*
[catta] / avahi-gobject / ga-service-browser.h
index d625279445cdb4db418c1bac1cf76061758e7503..eaead4be83cbc90619f07ab3d2631fb7a628ecb8 100644 (file)
@@ -55,11 +55,11 @@ GType ga_service_browser_get_type(void);
 #define GA_SERVICE_BROWSER_GET_CLASS(obj) \
   (G_TYPE_INSTANCE_GET_CLASS ((obj), GA_TYPE_SERVICE_BROWSER, GaServiceBrowserClass))
 
-GaServiceBrowser *ga_service_browser_new(gchar * type);
+GaServiceBrowser *ga_service_browser_new(const gchar * type);
 
 GaServiceBrowser *ga_service_browser_new_full(AvahiIfIndex interface,
                                               AvahiProtocol protocol,
-                                              gchar * type, gchar * domain,
+                                              const gchar * type, gchar * domain,
                                               GaLookupFlags flags);
 
 gboolean