[easytag] Make several easytag.h declarations static
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [easytag] Make several easytag.h declarations static
- Date: Mon, 7 Oct 2013 22:48:06 +0000 (UTC)
commit 88886d2d3da232594e8ad431fe206fbbb6dcc4c5
Author: David King <amigadave amigadave com>
Date: Mon Oct 7 23:26:46 2013 +0100
Make several easytag.h declarations static
src/easytag.c | 32 ++++++++++++++++++++++++++++++++
src/easytag.h | 30 ------------------------------
src/misc.c | 2 ++
3 files changed, 34 insertions(+), 30 deletions(-)
---
diff --git a/src/easytag.c b/src/easytag.c
index e90acbc..a2c2852 100644
--- a/src/easytag.c
+++ b/src/easytag.c
@@ -67,6 +67,38 @@
****************/
static guint idle_handler_id;
+static GtkWidget *MenuArea;
+static GtkWidget *ToolArea;
+static GtkWidget *BrowseArea;
+static GtkWidget *FileArea;
+static GtkWidget *TagArea;
+static GtkWidget *StatusArea;
+static GtkWidget *ProgressArea;
+static GtkWidget *MainWindowHPaned;
+static GtkWidget *MainWindowVPaned;
+
+/* Labels. */
+static GtkWidget *TitleLabel;
+static GtkWidget *ArtistLabel;
+static GtkWidget *AlbumArtistLabel;
+static GtkWidget *AlbumLabel;
+static GtkWidget *DiscNumberLabel;
+static GtkWidget *YearLabel;
+static GtkWidget *TrackLabel;
+static GtkWidget *GenreLabel;
+static GtkWidget *CommentLabel;
+static GtkWidget *ComposerLabel;
+static GtkWidget *OrigArtistLabel;
+static GtkWidget *CopyrightLabel;
+static GtkWidget *URLLabel;
+static GtkWidget *EncodedByLabel;
+
+/* Mini buttons. */
+static GtkWidget *TrackMButtonSequence;
+static GtkWidget *TrackMButtonNbrFiles;
+
+static GtkListStore *PictureEntryModel;
+
static GtkWidget *images_tab = NULL;
static GtkToolItem *apply_image_toolitem = NULL;
static GtkWidget *QuitRecursionWindow = NULL;
diff --git a/src/easytag.h b/src/easytag.h
index d5d3ba2..977b717 100644
--- a/src/easytag.h
+++ b/src/easytag.h
@@ -40,16 +40,7 @@
gboolean Main_Stop_Button_Pressed;
GtkWidget *MainWindow;
-GtkWidget *MenuArea;
-GtkWidget *ToolArea;
-GtkWidget *BrowseArea;
-GtkWidget *FileArea;
-GtkWidget *TagArea;
-GtkWidget *StatusArea;
-GtkWidget *ProgressArea;
GtkWidget *LogArea;
-GtkWidget *MainWindowHPaned;
-GtkWidget *MainWindowVPaned;
/* File Area */
GtkWidget *FileFrame;
@@ -91,25 +82,6 @@ GtkWidget *CopyrightEntry;
GtkWidget *URLEntry;
GtkWidget *EncodedByEntry;
GtkWidget *PictureEntryView;
-GtkListStore *PictureEntryModel;
-// Labels
-GtkWidget *TitleLabel;
-GtkWidget *ArtistLabel;
-GtkWidget *AlbumArtistLabel;
-GtkWidget *AlbumLabel;
-GtkWidget *DiscNumberLabel;
-GtkWidget *YearLabel;
-GtkWidget *TrackLabel;
-GtkWidget *GenreLabel;
-GtkWidget *CommentLabel;
-GtkWidget *ComposerLabel;
-GtkWidget *OrigArtistLabel;
-GtkWidget *CopyrightLabel;
-GtkWidget *URLLabel;
-GtkWidget *EncodedByLabel;
-// Mini buttons
-GtkWidget *TrackMButtonSequence;
-GtkWidget *TrackMButtonNbrFiles;
/* Other for picture. */
GtkToolItem *remove_image_toolitem;
@@ -117,8 +89,6 @@ GtkToolItem *add_image_toolitem;
GtkToolItem *save_image_toolitem;
GtkToolItem *image_properties_toolitem;
-GdkCursor *MouseCursor;
-
gchar *INIT_DIRECTORY;
#ifndef errno
diff --git a/src/misc.c b/src/misc.c
index 5423397..99d3eec 100644
--- a/src/misc.c
+++ b/src/misc.c
@@ -52,6 +52,8 @@
static const guint BOX_SPACING = 6;
+static GdkCursor *MouseCursor;
+
/* Search file window. */
static GtkWidget *SearchFileWindow = NULL;
static GtkWidget *SearchStringCombo;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]