Ticket #329 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

avahi-gobject: ga_service_browser_new() should accept const gchar*

Reported by: stefw Owned by: lennart
Milestone: Avahi 0.6.29 Component: avahi-glib
Keywords: Cc: sjoerd

Description

ga_service_browser_new() and ga_service_browser_new_full() should accept 'const gchar*' instead of 'gchar*'. The passed string is copied. Callers currently pass const strings anyway, and this fixes warnings.

Attachments

0001-ga_service_browser_new-should-accept-const-gchar.patch Download (2.4 KB) - added by stefw 2 years ago.
Patch which fixes the problem

Change History

Changed 2 years ago by stefw

Patch which fixes the problem

Changed 2 years ago by lennart

Thanks! Looks good! Applied.

Changed 2 years ago by lennart

  • status changed from new to closed
  • resolution set to fixed

Changed 2 years ago by lennart

  • component changed from other to avahi-glib
  • milestone set to Avahi 0.6.29
Note: See TracTickets for help on using tickets.