aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2012-06-13 16:01:49 +0200
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2012-06-13 16:44:41 +0200
commit881c4cb7650e1ddbd01eb1f31c14011f9e8f5002 (patch)
treef4718beb482aa8e8cd76b9c8b8fc8e9641f0890d
parentcbc720d17e5213cdb569c590fccb87fd7de4dd01 (diff)
downloadgtk-vlc-player-881c4cb7650e1ddbd01eb1f31c14011f9e8f5002.tar.gz
use Glib format specifiers instead of the standard libc ones
-rw-r--r--lib/gtk-experiment-widgets/gtk-experiment-navigator.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/gtk-experiment-widgets/gtk-experiment-navigator.c b/lib/gtk-experiment-widgets/gtk-experiment-navigator.c
index 534b2cf..2d1c48a 100644
--- a/lib/gtk-experiment-widgets/gtk-experiment-navigator.c
+++ b/lib/gtk-experiment-widgets/gtk-experiment-navigator.c
@@ -26,7 +26,6 @@
#endif
#include <assert.h>
-#include <inttypes.h>
#include <glib.h>
#include <glib/gprintf.h>
@@ -321,7 +320,7 @@ time_cell_data_cb(GtkTreeViewColumn *col __attribute__((unused)),
/** @todo Improve readability (e.g. h:mm:ss) */
/** @todo Do we always want to render the time column??? */
- g_snprintf(buf, sizeof(buf), "%" PRId64 "ms", time_val);
+ g_snprintf(buf, sizeof(buf), "%" G_GINT64_FORMAT "ms", time_val);
g_object_set(renderer, "text", buf, NULL);
}