summaryrefslogtreecommitdiff
path: root/recipes/gpephone
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut@gmail.com>2009-04-18 22:22:15 +0200
committerFlorian Boor <florian.boor@kernelconcepts.de>2009-04-18 22:22:15 +0200
commite7e86adbd0362ebeac9d05cd75e4a81fb9b1e16e (patch)
tree191be8acc06f857be0dea513ed77d426437bd0bc /recipes/gpephone
parent9882a7a0b915bfc0d40c37e00191891036531c52 (diff)
Improve libgemwidget fix
Diffstat (limited to 'recipes/gpephone')
-rw-r--r--recipes/gpephone/libgemwidget/libgemwidget-fixup.diff47
1 files changed, 23 insertions, 24 deletions
diff --git a/recipes/gpephone/libgemwidget/libgemwidget-fixup.diff b/recipes/gpephone/libgemwidget/libgemwidget-fixup.diff
index 9a219f1eb8..90f9877910 100644
--- a/recipes/gpephone/libgemwidget/libgemwidget-fixup.diff
+++ b/recipes/gpephone/libgemwidget/libgemwidget-fixup.diff
@@ -1,7 +1,6 @@
-Index: libgemwidget-1.0/src/gemfilechooser.c
-===================================================================
---- libgemwidget-1.0.orig/src/gemfilechooser.c 2008-11-04 14:04:26.428221184 +0300
-+++ libgemwidget-1.0/src/gemfilechooser.c 2008-11-04 14:41:58.755239494 +0300
+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>
@@ -10,34 +9,34 @@ Index: libgemwidget-1.0/src/gemfilechooser.c
#include "gemfilechooser.h"
#include "gemresource.h"
#include "gemenv.h"
-@@ -304,7 +305,7 @@ gem_file_chooser_finalize (GObject *obje
+@@ -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 @@ gem_file_chooser_file_info_print (GtkFil
- (gtk_file_info_get_is_folder(info) ? "TRUE" : "FALSE"));
- g_print("%s():|- Hidden : %s\n",
- __FUNCTION__,
+ 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__,
+ 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 @@ gem_file_chooser_file_info_print (GtkFil
- loacl_time.tm_sec);
- g_print("%s():`- Size : %lld\n",
- __FUNCTION__,
+ 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;
+
+ g_print("\n");
+ return;