summaryrefslogtreecommitdiff
path: root/gsearchtool
diff options
context:
space:
mode:
authorNelson Marques <[email protected]>2012-10-01 02:51:39 -0700
committerNelson Marques <[email protected]>2012-10-01 02:51:39 -0700
commit0f0afaa012e1aef7583149cf00427d05b8e1c219 (patch)
treeccd0091f28668b5beb43b871ef0d88597b80bb9a /gsearchtool
parent8579601402a8fb8f6c981e1380efdcfcde88ab16 (diff)
parent23ab2a147538f5a9b943952e0ecb274bc9f21fde (diff)
downloadmate-utils-0f0afaa012e1aef7583149cf00427d05b8e1c219.tar.bz2
mate-utils-0f0afaa012e1aef7583149cf00427d05b8e1c219.tar.xz
Merge pull request #3 from ketheriel/master
fix implicit declaration and pointer without cast
Diffstat (limited to 'gsearchtool')
-rw-r--r--gsearchtool/gsearchtool.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gsearchtool/gsearchtool.c b/gsearchtool/gsearchtool.c
index f19211e5..d078d968 100644
--- a/gsearchtool/gsearchtool.c
+++ b/gsearchtool/gsearchtool.c
@@ -40,6 +40,7 @@
#include <errno.h>
#include <stdlib.h>
#include <sys/wait.h>
+#include <glib.h>
#include <glib/gi18n.h>
#include <gdk/gdk.h>
#include <gio/gio.h>
@@ -857,7 +858,7 @@ add_file_to_search_results (const gchar * file,
pixbuf = get_file_pixbuf (gsearch, file_info);
description = get_file_type_description (file, file_info);
- readable_size = g_format_size_for_display (g_file_info_get_size (file_info));
+ readable_size = g_format_size (g_file_info_get_size (file_info));
g_file_info_get_modification_time (file_info, &time_val);
readable_date = get_readable_date (gsearch->search_results_date_format_string, time_val.tv_sec);