Bug 13235

Summary: Deprecated tp_debug_set_flags_from_env call causes build failures with 0.1.2
Product: Telepathy Reporter: Peter Gordon <peter>
Component: hazeAssignee: Will Thompson <will>
Status: RESOLVED FIXED QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
URL: http://koji.fedoraproject.org/koji/getfile?taskID=237471&name=build.log
Whiteboard:
i915 platform: i915 features:
Attachments: Replaces deprecated tp_debug_set_flags_from_env(..) call in src/main.c:341 with the equivalent tp_debug_set_flags(g_getenv(...))

Description Peter Gordon 2007-11-13 16:41:16 UTC
Hello.

Recent versions of telepathy-glib have deprecated the tp_debug_set_flags_from_env  function, which means that Haze fails to build since it warns about this during the compile phase (and with -Werror, this causes a complete failure, as seen in the linked build log).

Attached is a patch which replaces this call in src/main.c:341 with replaces this with the equivalent call to tp_debug_set_flags, using g_getenv to grab the environment variable and send that as the parameter.
Comment 1 Peter Gordon 2007-11-13 16:42:07 UTC
Created attachment 12531 [details] [review]
Replaces deprecated tp_debug_set_flags_from_env(..) call in src/main.c:341 with the equivalent tp_debug_set_flags(g_getenv(...))
Comment 2 Will Thompson 2007-11-14 07:18:33 UTC
Thanks for the report and patch!  I've fixed the problem in darcs with an #ifdef so that haze will still build against telepathy-glib <= 0.6.0.  I'll also steal autofoo from telepathy-glib to make releases not build with -Werror by default in the near future, and then release 0.1.3.

Cheers!

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.