aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/about_dlg.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2004-05-22 04:25:57 +0000
committerGuy Harris <guy@alum.mit.edu>2004-05-22 04:25:57 +0000
commitade058df51e1a2f33fe6774ad81b62313ca6ecfe (patch)
tree577e21abf89718b277ef7a78af3b1c9f67f9fb7a /gtk/about_dlg.c
parent88d2d10fb48176a61c881e4b643a0293f4621bd3 (diff)
downloadwireshark-ade058df51e1a2f33fe6774ad81b62313ca6ecfe.tar.gz
wireshark-ade058df51e1a2f33fe6774ad81b62313ca6ecfe.tar.bz2
wireshark-ade058df51e1a2f33fe6774ad81b62313ca6ecfe.zip
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
Diffstat (limited to 'gtk/about_dlg.c')
-rw-r--r--gtk/about_dlg.c10
1 files changed, 1 insertions, 9 deletions
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 <ulf.lamping@web.de>
*
@@ -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);