Allow a value of -1.0 for @progress [which means "unknown progress"].
* evolution-activity-client.c (evolution_activity_client_update): Allow a value of -1.0 for @progress [which means "unknown progress"]. svn path=/trunk/; revision=12659
This commit is contained in:
@ -1,3 +1,9 @@
|
||||
2001-09-06 Ettore Perazzoli <ettore@ximian.com>
|
||||
|
||||
* evolution-activity-client.c (evolution_activity_client_update):
|
||||
Allow a value of -1.0 for @progress [which means "unknown
|
||||
progress"].
|
||||
|
||||
2001-09-05 Ettore Perazzoli <ettore@ximian.com>
|
||||
|
||||
[Fix #958, ShellComponents should not be created by factories, for
|
||||
|
||||
@ -421,7 +421,7 @@ evolution_activity_client_update (EvolutionActivityClient *activity_client,
|
||||
g_return_val_if_fail (activity_client != NULL, FALSE);
|
||||
g_return_val_if_fail (EVOLUTION_IS_ACTIVITY_CLIENT (activity_client), FALSE);
|
||||
g_return_val_if_fail (information != NULL, FALSE);
|
||||
g_return_val_if_fail (progress >= 0.0 && progress <= 1.0, FALSE);
|
||||
g_return_val_if_fail (progress == -1.0 || (progress >= 0.0 && progress <= 1.0), FALSE);
|
||||
|
||||
priv = activity_client->priv;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user