aboutsummaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-08-04 20:30:14 -0500
committerTed Gould <ted@gould.cx>2010-08-04 20:30:14 -0500
commit77b2b6f4e8dd7f782c89f30ed3f74b6fe51cf871 (patch)
tree90354d2b8cbdc6f6b7af2403e785d4ac079901c0 /example
parent1e7513cafe348dbf1f38c7686b66ad347e4e9c56 (diff)
parent1f04ea2f899a2922e9c625fd629463c4dd16aff5 (diff)
downloadlibayatana-appindicator-77b2b6f4e8dd7f782c89f30ed3f74b6fe51cf871.tar.gz
libayatana-appindicator-77b2b6f4e8dd7f782c89f30ed3f74b6fe51cf871.tar.bz2
libayatana-appindicator-77b2b6f4e8dd7f782c89f30ed3f74b6fe51cf871.zip
* Upstream Merge
* Making the test program count to 100
Diffstat (limited to 'example')
-rw-r--r--example/simple-client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/simple-client.c b/example/simple-client.c
index d756988..20cb281 100644
--- a/example/simple-client.c
+++ b/example/simple-client.c
@@ -103,7 +103,7 @@ static gboolean
percent_change (gpointer user_data)
{
percentage = (percentage + 1) % 100;
- gchar * percentstr = g_strdup_printf("%d%%", percentage);
+ gchar * percentstr = g_strdup_printf("%d%%", percentage + 1);
app_indicator_set_label (APP_INDICATOR(user_data), percentstr, "100%");
g_free(percentstr);
return TRUE;