diff options
author | Alan Fitton <ajf@eth0.org.uk> | 2011-09-20 19:26:28 +0000 |
---|---|---|
committer | Alan Fitton <ajf@eth0.org.uk> | 2011-09-20 19:26:28 +0000 |
commit | 8cfc6187fdcfbc32e37aec8326451af2ae7eb893 (patch) | |
tree | 4b951cd1b5d21ab4dcbe325a93622cead12790bb /src/trg-stats-dialog.c | |
parent | 0a7facc248a7aa20fb10f85d01606a42ce00d1f9 (diff) |
some stuff to build against gtk3, mostly some changes from accessing an objects struct for members to using functions, due to these structs now being gsealed.
Diffstat (limited to 'src/trg-stats-dialog.c')
-rw-r--r-- | src/trg-stats-dialog.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/trg-stats-dialog.c b/src/trg-stats-dialog.c index 98c8606..a159434 100644 --- a/src/trg-stats-dialog.c +++ b/src/trg-stats-dialog.c @@ -145,9 +145,9 @@ static void update_int_stat(JsonObject * args, GtkTreeRowReference * rr, gchar session_val[32]; gchar cumulat_val[32]; - g_snprintf(session_val, sizeof(session_val), "%ld", + g_snprintf(session_val, sizeof(session_val), "%"G_GINT64_FORMAT, json_object_get_int_member(get_session_arg(args), jsonKey)); - g_snprintf(cumulat_val, sizeof(cumulat_val), "%ld", + g_snprintf(cumulat_val, sizeof(cumulat_val), "%"G_GINT64_FORMAT, json_object_get_int_member(get_cumulat_arg(args), jsonKey)); update_statistic(rr, session_val, cumulat_val); |