[monkey-bubble: 440/753] Commented this out. (FIXME: gnome-cursors.[ch] will go away, fix all code



commit 4c73d7fc255891f2155c0705efc7fb72ed2dd8c7
Author: Martin Baulig <baulig suse de>
Date:   Tue Jun 12 14:07:14 2001 +0000

    Commented this out. (FIXME: gnome-cursors.[ch] will go away, fix all code
    
    2001-06-12  Martin Baulig  <baulig suse de>
    
    	* gnome-cursors.c (build_cursor_table): Commented this out.
    	(FIXME: gnome-cursors.[ch] will go away, fix all code which is still
    	using it).

 libgnomeui/ChangeLog       |    4 ++++
 libgnomeui/gnome-cursors.c |   14 ++++++++++----
 libgnomeui/gnome-ui-init.c |    1 -
 3 files changed, 14 insertions(+), 5 deletions(-)
---
diff --git a/libgnomeui/ChangeLog b/libgnomeui/ChangeLog
index d247492..6a8010f 100644
--- a/libgnomeui/ChangeLog
+++ b/libgnomeui/ChangeLog
@@ -1,5 +1,9 @@
 2001-06-12  Martin Baulig  <baulig suse de>
 
+	* gnome-cursors.c (build_cursor_table): Commented this out.
+	(FIXME: gnome-cursors.[ch] will go away, fix all code which is still
+	using it).
+
 	* gnome-gconf.[ch]: Removed.
 
 2001-06-11  Cody Russell  <bratsche gnome org>
diff --git a/libgnomeui/gnome-cursors.c b/libgnomeui/gnome-cursors.c
index 3dd7d11..811cbcc 100644
--- a/libgnomeui/gnome-cursors.c
+++ b/libgnomeui/gnome-cursors.c
@@ -27,9 +27,7 @@
 #  include <config.h>
 #endif
 
-#include "gnome-gconf.h"
-
-#include <gconf/gconf-client.h>
+#include <stdio.h>
 #include <gdk-pixbuf/gdk-pixbuf.h>
 #include <gdk/gdkx.h>
 
@@ -599,6 +597,7 @@ static GnomeStockCursor default_cursors[] = {
 static const gint num_default_cursors = sizeof(default_cursors)/sizeof(GnomeStockCursor);
 
 
+#if 0
 static void
 build_cursor_table (void)
 {
@@ -635,6 +634,7 @@ build_cursor_table (void)
 		g_free (cursorstr);
 	}
 }
+#endif
 
 
 /**
@@ -804,9 +804,11 @@ gnome_stock_cursor_new (const char *cursorname)
 
         /* FIXME if GdkCursor had a refcount we could cache that
            instead of the pixmap/bitmap */
-        
+
+#if 0        
 	if (!cursortable)
 		build_cursor_table ();
+#endif
 	
 	cursor = g_hash_table_lookup (cursortable, cursorname);
 	
@@ -906,8 +908,10 @@ gnome_stock_cursor_register (GnomeStockCursor *cursor)
 {
 	GnomeStockCursor *old_cursor;
         
+#if 0
 	if (!cursortable)
 		build_cursor_table ();
+#endif
 
         g_return_if_fail (cursor != NULL);
         g_return_if_fail (cursor->pmap == NULL);
@@ -933,8 +937,10 @@ gnome_stock_cursor_register (GnomeStockCursor *cursor)
 GnomeStockCursor*
 gnome_stock_cursor_lookup_entry(const char *cursorname)
 {
+#if 0
 	if (!cursortable)
 		build_cursor_table ();
+#endif
 	
 	return g_hash_table_lookup (cursortable, cursorname);
 }
diff --git a/libgnomeui/gnome-ui-init.c b/libgnomeui/gnome-ui-init.c
index 611bda2..847bd96 100644
--- a/libgnomeui/gnome-ui-init.c
+++ b/libgnomeui/gnome-ui-init.c
@@ -48,7 +48,6 @@
 #include "gnome-client.h"
 #include "gnome-init.h"
 #include "gnome-winhints.h"
-#include "gnome-gconf.h"
 #include "gnome-stock-icons.h"
 
 #include <gdk-pixbuf/gdk-pixbuf.h>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]