diff gui/dialog/about.c @ 35989:188b782b013f

Make create_About() static. It only has file scope. In order to do so, relocate some other static functions.
author ib
date Fri, 29 Mar 2013 01:14:44 +0000
parents 3734172b4af6
children 6c891a0e3fea
line wrap: on
line diff
--- a/gui/dialog/about.c	Fri Mar 29 01:11:48 2013 +0000
+++ b/gui/dialog/about.c	Fri Mar 29 01:14:44 2013 +0000
@@ -28,17 +28,10 @@
 
 GtkWidget * About = NULL;
 
-void ShowAbout( void )
-{
- if ( About ) gtkActive( About );
-   else About=create_About();
- gtk_widget_show( About );
-}
-
 static void abWidgetDestroy( GtkButton * button, gpointer user_data )
 { WidgetDestroy( NULL,&About ); }
 
-GtkWidget * create_About( void )
+static GtkWidget * create_About( void )
 {
   GtkWidget     * vbox;
   GtkWidget     * pixmap1;
@@ -351,3 +344,10 @@
 
   return About;
 }
+
+void ShowAbout( void )
+{
+ if ( About ) gtkActive( About );
+   else About=create_About();
+ gtk_widget_show( About );
+}