From ade058df51e1a2f33fe6774ad81b62313ca6ecfe Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Sat, 22 May 2004 04:25:57 +0000 Subject: Declare "text_page_new()" in a "gtk/text_page.h" header, rather than embedding a declaration in "gtk/about_dlg.c". Do the Authors page in the About dialog on UN*X as well as on Windows. svn path=/trunk/; revision=10951 --- gtk/about_dlg.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'gtk/about_dlg.c') diff --git a/gtk/about_dlg.c b/gtk/about_dlg.c index 5aadf03bf3..2576d9a5c7 100644 --- a/gtk/about_dlg.c +++ b/gtk/about_dlg.c @@ -1,6 +1,6 @@ /* about_dlg.c * - * $Id: about_dlg.c,v 1.7 2004/05/21 17:35:43 ulfl Exp $ + * $Id: about_dlg.c,v 1.8 2004/05/22 04:25:57 guy Exp $ * * Ulf Lamping * @@ -106,9 +106,6 @@ about_ethereal_page_new(void) return main_vb; } -#ifdef WIN32 -extern GtkWidget * text_page_new(const char *absolute_path); - static GtkWidget * about_authors_page_new(void) { @@ -120,7 +117,6 @@ about_authors_page_new(void) return page; } -#endif static void about_folders_row(GtkWidget *table, const char *label, const char *dir, const char *tip) @@ -208,9 +204,7 @@ about_ethereal_cb( GtkWidget *w _U_, gpointer data _U_ ) GtkWidget *main_vb, *main_nb, *bbox, *ok_btn; GtkWidget *page_lb, *about_page, *folders_page, *plugins_page; -#ifdef WIN32 GtkWidget *authors_page; -#endif if (about_ethereal_w != NULL) { /* There's already an "About Ethereal" dialog box; reactivate it. */ @@ -239,11 +233,9 @@ about_ethereal_cb( GtkWidget *w _U_, gpointer data _U_ ) page_lb = gtk_label_new("Ethereal"); gtk_notebook_append_page(GTK_NOTEBOOK(main_nb), about_page, page_lb); -#ifdef WIN32 authors_page = about_authors_page_new(); page_lb = gtk_label_new("Authors"); gtk_notebook_append_page(GTK_NOTEBOOK(main_nb), authors_page, page_lb); -#endif folders_page = about_folders_page_new(); WIDGET_SET_SIZE(folders_page, 500, 200); -- cgit v1.2.3