summaryrefslogtreecommitdiff
path: root/recipes/gpephone/libgemwidget/libgemwidget-fixup.diff
blob: 90f98779109caeca45c2220e8fb67a8423699c49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
diff -Narub libgemwidget-1.0.orig/src/gemfilechooser.c libgemwidget-1.0/src/gemfilechooser.c
--- libgemwidget-1.0.orig/src/gemfilechooser.c	2007-11-04 07:48:36.000000000 +0100
+++ libgemwidget-1.0/src/gemfilechooser.c	2009-04-13 20:05:21.018294446 +0200
@@ -46,6 +46,7 @@
 #include <gtk/gtk.h>
 #include <gdk/gdkkeysyms.h>
 #include <libgnomevfs/gnome-vfs.h>
+#include <libgnomevfs/gnome-vfs-mime-handlers.h>
 #include "gemfilechooser.h"
 #include "gemresource.h"
 #include "gemenv.h"
@@ -304,7 +305,7 @@
 }
 
 static void
-gem_file_chooser_file_info_print (GtkFileInfo		*info)
+gem_file_chooser_file_info_print (GFileInfo		*info)
 {
 	struct tm loacl_time;
 	time_t time;
@@ -331,10 +332,10 @@
 					(gtk_file_info_get_is_folder(info) ? "TRUE" : "FALSE"));
 	g_print("%s():|- Hidden        : %s\n",
 					__FUNCTION__,
-					(gtk_file_info_get_is_hidden(info) ? "TRUE" : "FALSE"));
+					(g_file_info_get_is_hidden(info) ? "TRUE" : "FALSE"));
 	g_print("%s():|- MIME Type     : %s\n",
 					__FUNCTION__,
-					gtk_file_info_get_mime_type(info));
+					g_file_info_get_mime_type(info));
 	g_print("%s():|- Modified Time : %04d/%02d/%02d %02d:%02d:%02d\n",
 					__FUNCTION__,
 					loacl_time.tm_year + 1900,
@@ -345,7 +346,7 @@
 					loacl_time.tm_sec);
 	g_print("%s():`- Size          : %lld\n",
 					__FUNCTION__,
-					gtk_file_info_get_size(info));
+					g_file_info_get_size(info));
 					
 	g_print("\n");
 	return;