Bug 13235 - Deprecated tp_debug_set_flags_from_env call causes build failures with 0.1.2
Summary: Deprecated tp_debug_set_flags_from_env call causes build failures with 0.1.2
Status: RESOLVED FIXED
Alias: None
Product: Telepathy
Classification: Unclassified
Component: haze (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Will Thompson
QA Contact: Telepathy bugs list
URL: http://koji.fedoraproject.org/koji/ge...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-13 16:41 UTC by Peter Gordon
Modified: 2007-11-14 07:18 UTC (History)
0 users

See Also:
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(...)) (435 bytes, patch)
2007-11-13 16:42 UTC, Peter Gordon
Details | Splinter Review

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.