[monkey-bubble: 657/753] Fixed GnomeEntry header to not include the nonexistent gnome-defs.h



commit 15d31b89080f4ddc490f0d8267936dc4c49b07be
Author: Darin Adler <darin src gnome org>
Date:   Fri Aug 24 22:50:50 2001 +0000

    Fixed GnomeEntry header to not include the nonexistent gnome-defs.h
    
    	* gnome-entry.h: Fixed GnomeEntry header to not include the
    	nonexistent gnome-defs.h header.
    
    	* gnome-color-picker.c:  Removed include of <gtk/gtkcompat.h>
    	now that the latest gtk doesn't use that header any more. But
    	this does mean we now require a newer gtk.

 libgnomeui/ChangeLog            |    9 +++++++++
 libgnomeui/gnome-color-picker.c |    1 -
 libgnomeui/gnome-entry.h        |    5 ++---
 test-gnome/ChangeLog            |    6 ++++++
 test-gnome/testgnome.c          |    2 +-
 5 files changed, 18 insertions(+), 5 deletions(-)
---
diff --git a/libgnomeui/ChangeLog b/libgnomeui/ChangeLog
index 42f7b83..2b66938 100644
--- a/libgnomeui/ChangeLog
+++ b/libgnomeui/ChangeLog
@@ -1,3 +1,12 @@
+2001-08-24  Darin Adler  <darin bentspoon com>
+
+	* gnome-entry.h: Fixed GnomeEntry header to not include the
+	nonexistent gnome-defs.h header.
+
+	* gnome-color-picker.c:  Removed include of <gtk/gtkcompat.h>
+	now that the latest gtk doesn't use that header any more. But
+	this does mean we now require a newer gtk.
+
 2001-08-24  Anders Carlsson  <andersca codefactory se>
 
 	* gnome-entry.c: (gnome_entry_get_type), (gnome_entry_class_init),
diff --git a/libgnomeui/gnome-color-picker.c b/libgnomeui/gnome-color-picker.c
index 2400dc6..168f683 100644
--- a/libgnomeui/gnome-color-picker.c
+++ b/libgnomeui/gnome-color-picker.c
@@ -38,7 +38,6 @@
 #include <gtk/gtkdrawingarea.h>
 #include <gtk/gtkframe.h>
 #include <gtk/gtksignal.h>
-#include <gtk/gtkcompat.h>
 #include "gnome-color-picker.h"
 #include <libgnome/gnome-i18n.h>
 #include <gdk/gdkkeysyms.h>
diff --git a/libgnomeui/gnome-entry.h b/libgnomeui/gnome-entry.h
index 0252508..b7a2f20 100644
--- a/libgnomeui/gnome-entry.h
+++ b/libgnomeui/gnome-entry.h
@@ -35,10 +35,9 @@
 
 #include <glib.h>
 #include <gtk/gtkcombo.h>
-#include <libgnome/gnome-defs.h>
 
 
-BEGIN_GNOME_DECLS
+G_BEGIN_DECLS
 
 
 #define GNOME_TYPE_ENTRY            (gnome_entry_get_type ())
@@ -94,6 +93,6 @@ void         gnome_entry_load_history     (GnomeEntry  *gentry);
 void         gnome_entry_save_history     (GnomeEntry  *gentry);
 void         gnome_entry_clear_history    (GnomeEntry  *gentry);
 
-END_GNOME_DECLS
+G_END_DECLS
 
 #endif
diff --git a/test-gnome/ChangeLog b/test-gnome/ChangeLog
index 8526515..b4cbee7 100644
--- a/test-gnome/ChangeLog
+++ b/test-gnome/ChangeLog
@@ -1,3 +1,9 @@
+2001-08-24  Darin Adler  <darin bentspoon com>
+
+	reviewed by: <delete if not using a buddy>
+
+	* testgnome.c: (create_entry):
+
 2001-08-01  Anders Carlsson  <andersca codefactory se>
 
 	* testgnome.c (verb_HelpAbout_cb): Update for new API.
diff --git a/test-gnome/testgnome.c b/test-gnome/testgnome.c
index 8678e56..678e18c 100644
--- a/test-gnome/testgnome.c
+++ b/test-gnome/testgnome.c
@@ -530,7 +530,7 @@ create_entry(void)
 	GtkWidget *entry;
 
 	app = create_newwin(TRUE,"testGNOME","Entry");
-	entry = gnome_entry_new();
+	entry = gnome_entry_new(NULL);
 	g_assert(entry != NULL);
 //	gnome_entry_set_text (GNOME_ENTRY(entry), "Foo");
 	bonobo_window_set_contents(BONOBO_WINDOW(app->app), entry);



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