[Pidgin] #15330: Fix gtk_progress_set_percentage assertions during voice call
Pidgin
trac at pidgin.im
Sun Sep 23 09:08:50 EDT 2012
#15330: Fix gtk_progress_set_percentage assertions during voice call
-------------------------+-------------------------------------------------
Reporter: haakon | Owner: Maiku
Type: patch | Status: new
Milestone: Patches | Component: Voice and Video
Needing Review | Keywords: voice progressbar percentage
Version: 2.10.6 | assertion
-------------------------+-------------------------------------------------
At `gtkmedia.c:level_message_cb()`, `level`, which is a float percentage
between 0.0 and 1.0, was multiplied by 5 prior setting as a progress bar
value. This led to many warnings in debug log like this one:
{{{Gtk: IA__gtk_progress_set_percentage: assertion `percentage >= 0 &&
percentage <= 1.0' failed}}}
Patch removes the multiplication so the value is always between 0 and 1.
--
Ticket URL: <https://developer.pidgin.im/ticket/15330>
Pidgin <http://pidgin.im>
Pidgin
More information about the Tracker
mailing list