Permalink
Browse files

Moved forward declarations from gui.h to gui.c

  • Loading branch information...
1 parent 403c032 commit 365f6e1b3fbf7015f80f0a19334f701d0482e095 @dfandrich dfandrich committed Jan 11, 2013
Showing with 17 additions and 16 deletions.
  1. +17 −1 gui.c
  2. +0 −15 gui.h
View
18 gui.c
@@ -159,6 +159,22 @@ char* SettingsFilename;
gchar* GPXOpenDir = NULL;
gchar* PhotoOpenDir = NULL;
+static gboolean DestroyWindow(GtkWidget *Widget, GdkEvent *Event, gpointer Data);
+
+static void AddPhotosButtonPress(GtkWidget *Widget, gpointer Data);
+static void AddPhotoToList(const char* Filename);
+static void RemovePhotosButtonPress( GtkWidget *Widget, gpointer Data );
+
+static void SetListItem(GtkTreeIter* Iter, const char* Filename,
+ const char* Time, double Lat, double Long, double Elev,
+ const char* PassedState, int IncludesGPS);
+
+static void SelectGPSButtonPress( GtkWidget *Widget, gpointer Data );
+static void CorrelateButtonPress( GtkWidget *Widget, gpointer Data );
+static void StripGPSButtonPress( GtkWidget *Widget, gpointer Data );
+
+static void GtkGUIUpdate(void);
+
/* Load settings, insert defaults. */
void LoadSettings(void)
{
@@ -675,7 +691,7 @@ void AddPhotosButtonPress( GtkWidget *Widget, gpointer Data )
GSList* Run;
for (Run = FileNames; Run; Run = Run->next)
{
- /* Show whats happening on the screen. */
+ /* Show what's happening on the screen. */
GtkGUIUpdate();
/*printf("Filename: %s.\n", (char*)Run->data);*/
/* Call the other function with the filename - this
View
15 gui.h
@@ -25,18 +25,3 @@
*/
GtkWidget* CreateMatchWindow(void);
-gboolean DestroyWindow(GtkWidget *Widget, GdkEvent *Event, gpointer Data);
-
-void AddPhotosButtonPress(GtkWidget *Widget, gpointer Data);
-void AddPhotoToList(const char* Filename);
-void RemovePhotosButtonPress( GtkWidget *Widget, gpointer Data );
-
-void SetListItem(GtkTreeIter* Iter, const char* Filename, const char* Time, double Lat,
- double Long, double Elev, const char* PassedState, int IncludesGPS);
-void SetState(GtkTreeIter* Iter, const char* State);
-
-void SelectGPSButtonPress( GtkWidget *Widget, gpointer Data );
-void CorrelateButtonPress( GtkWidget *Widget, gpointer Data );
-void StripGPSButtonPress( GtkWidget *Widget, gpointer Data );
-
-void GtkGUIUpdate(void);

0 comments on commit 365f6e1

Please sign in to comment.