[gcompris/gcomprixogoo] reactivated gc_cache_import_pixmap() to work even without gnet.
- From: Bruno Coudoin <bcoudoin src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gcompris/gcomprixogoo] reactivated gc_cache_import_pixmap() to work even without gnet.
- Date: Sun, 7 Nov 2010 01:19:30 +0000 (UTC)
commit 2b2df2c3dfb2a2fcacfc5b267feeead43b216a8e
Author: Bruno Coudoin <bruno coudoin free fr>
Date: Sun Nov 7 01:43:26 2010 +0100
reactivated gc_cache_import_pixmap() to work even without gnet.
This allow missing letter to work again.
src/gcompris/gc_net.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/src/gcompris/gc_net.c b/src/gcompris/gc_net.c
index 106ec1c..bea6d7e 100644
--- a/src/gcompris/gc_net.c
+++ b/src/gcompris/gc_net.c
@@ -274,7 +274,6 @@ void gc_cache_add(gchar *filename)
gchar* gc_cache_import_pixmap(gchar *filename, gchar *boarddir, gint width, gint height)
{
-#ifdef USE_GNET
GdkPixbuf *pixmap;
gchar *basename, *file, *ext, *name, *abs;
@@ -309,9 +308,6 @@ gchar* gc_cache_import_pixmap(gchar *filename, gchar *boarddir, gint width, gint
g_free(basename);
g_free(file);
return name;
-#else
- return NULL;
-#endif
}
void gc_cache_remove(gchar *filename)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]