[monkey-bubble: 633/753] Disabled GnomeAbout, don't link it into the library and don't install the



commit 1b003a871a2e55e49b30e5f7c983e42b8dc46836
Author: Martin Baulig <baulig suse de>
Date:   Tue Aug 14 13:12:31 2001 +0000

    Disabled GnomeAbout, don't link it into the library and don't install the
    
    2001-08-14  Martin Baulig  <baulig suse de>
    
    	* Makefile.am: Disabled GnomeAbout, don't link it into the
    	library and don't install the header file.
    
    	* gnome-about.h (GnomeAbout): Removed all fields and added
    	a private field.
    	(gnome_about_new): Removed.

 libgnomeui/ChangeLog     |    9 +++++++++
 libgnomeui/Makefile.am   |    2 --
 libgnomeui/gnome-about.c |   16 ----------------
 libgnomeui/gnome-about.h |   30 ++----------------------------
 libgnomeui/libgnomeui.h  |    1 -
 5 files changed, 11 insertions(+), 47 deletions(-)
---
diff --git a/libgnomeui/ChangeLog b/libgnomeui/ChangeLog
index 5f6885f..1dc679f 100644
--- a/libgnomeui/ChangeLog
+++ b/libgnomeui/ChangeLog
@@ -1,3 +1,12 @@
+2001-08-14  Martin Baulig  <baulig suse de>
+
+	* Makefile.am: Disabled GnomeAbout, don't link it into the
+	library and don't install the header file.
+
+	* gnome-about.h (GnomeAbout): Removed all fields and added
+	a private field.
+	(gnome_about_new): Removed.
+
 Sun Aug 12 11:22:03 2001  George Lebl <jirka 5z com>
 
 	* gnome-dateedit.[ch]: Some cleanup, and make the time
diff --git a/libgnomeui/Makefile.am b/libgnomeui/Makefile.am
index 08dd1dd..35f6e3c 100644
--- a/libgnomeui/Makefile.am
+++ b/libgnomeui/Makefile.am
@@ -45,7 +45,6 @@ libgnomeui_2_la_SOURCES = \
 	gnometypebuiltins.h		\
 	gnometypebuiltins.c		\
 	gnome-stock-icons.c		\
-	gnome-about.c			\
 	gnome-canvas-init.c		\
 	gnome-client.c			\
 	gnome-color-picker.c		\
@@ -71,7 +70,6 @@ libgnomeui_2_la_SOURCES = \
 
 ## this lists all the non-generated headers
 gnome_headers = \
-	gnome-about.h			\
 	gnome-canvas-init.h		\
 	gnome-client.h			\
 	gnome-color-picker.h		\
diff --git a/libgnomeui/gnome-about.c b/libgnomeui/gnome-about.c
index fa1c143..c57819b 100644
--- a/libgnomeui/gnome-about.c
+++ b/libgnomeui/gnome-about.c
@@ -25,19 +25,3 @@
 
 #include "gnome-about.h"
 
-GtkWidget *gnome_about_new (const gchar  *name,
-			    const gchar  *version,
-			    const gchar  *copyright,
-			    const gchar  *comments,
-			    const gchar **authors,
-			    const gchar **documenters,
-			    const gchar  *translator_credits,
-			    GdkPixbuf    *logo_pixbuf)
-{
-	GtkWidget *about;
-
-	/* Totally unusable stub for now */
-	about = gtk_dialog_new ();
-
-	return about;
-}
diff --git a/libgnomeui/gnome-about.h b/libgnomeui/gnome-about.h
index 19e12e0..364d2c2 100644
--- a/libgnomeui/gnome-about.h
+++ b/libgnomeui/gnome-about.h
@@ -38,30 +38,13 @@ G_BEGIN_DECLS
 #define GNOME_ABOUT_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS ((obj), GNOME_TYPE_ABOUT, GnomeAboutClass))
 
 typedef struct _GnomeAbout GnomeAbout;
+typedef struct _GnomeAboutPrivate GnomeAboutPrivate;
 typedef struct _GnomeAboutClass GnomeAboutClass;
 
 struct _GnomeAbout {
 	GtkDialog parent_instance;
 
-	gchar *name;
-	gchar *version;
-	gchar *copyright;
-	gchar *comments;
-	
-	GSList *authors;
-	GSList *translators;
-	GSList *documenters;
-
-	gint displaying_state;
-	
-	GtkWidget *drawing_area;
-	
-	GdkPixbuf *background_pixbuf;
-	GdkPixbuf *rendered_background_pixbuf;
-	gdouble gradient_start_opacity, gradient_end_opacity;
-	gdouble gradient_start_position, gradient_end_position;
-
-	GdkPixbuf *logo_pixbuf;
+	GnomeAboutPrivate *_priv;
 };
 
 struct _GnomeAboutClass {
@@ -70,15 +53,6 @@ struct _GnomeAboutClass {
 
 GType gnome_about_get_type (void);
 
-GtkWidget *gnome_about_new (const gchar  *name,
-			    const gchar  *version,
-			    const gchar  *copyright,
-			    const gchar  *comments,
-			    const gchar **authors,
-			    const gchar **documenters,
-			    const gchar  *translator_credits,
-			    GdkPixbuf    *logo_pixbuf);
-
 G_END_DECLS
 
 #endif /* __GNOME_ABOUT_H__ */
diff --git a/libgnomeui/libgnomeui.h b/libgnomeui/libgnomeui.h
index 4d182c6..8e256f5 100644
--- a/libgnomeui/libgnomeui.h
+++ b/libgnomeui/libgnomeui.h
@@ -29,7 +29,6 @@
 
 
 #include <libgnomeui/gnome-uidefs.h>
-#include <libgnomeui/gnome-about.h>
 #include <libgnomecanvas/gnome-canvas.h>
 #include <libgnomecanvas/gnome-canvas-pixbuf.h>
 #include <libgnomecanvas/gnome-canvas-line.h>



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