[easytag/wip/mingw-2.1.9alpha1: 2/3] Remove some old win32 cruft



commit 01e4c4c294bfaafc1c5f4f0c0eca3b43b5e33543
Author: David King <amigadave amigadave com>
Date:   Wed Oct 9 19:02:55 2013 +0100

    Remove some old win32 cruft

 Makefile.am             |    4 -
 src/easytag.c           |   11 +-
 src/win32/gtkwin32dep.c |  236 -------------------
 src/win32/gtkwin32dep.h |   43 ----
 src/win32/win_easytag.c |  579 -----------------------------------------------
 5 files changed, 1 insertions(+), 872 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 69ba60e..38c44d3 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -232,11 +232,7 @@ dist_noinst_DATA = \
        src/libapetag/README.apetag \
        src/libapetag/id3v2_read.c \
        src/libapetag/id3v2_read.h \
-       src/win32/easytag.rc \
-       src/win32/gtkwin32dep.c \
-       src/win32/gtkwin32dep.h \
        src/win32/resource.h \
-       src/win32/win_easytag.c \
        data/icons/win32/easytag.ico \
        data/nsis/easytag-header.bmp \
        data/nsis/easytag-install.bmp \
diff --git a/src/easytag.c b/src/easytag.c
index a2c2852..3092f7f 100644
--- a/src/easytag.c
+++ b/src/easytag.c
@@ -124,9 +124,6 @@ static gint SF_ButtonPressed_Delete_File;
 /**************
  * Prototypes *
  **************/
-#ifdef G_OS_WIN32
-int easytag_main (struct HINSTANCE__ *hInstance, int argc, char *argv[]);
-#endif /* G_OS_WIN32 */
 #ifndef G_OS_WIN32
 static void Handle_Crash (gint signal_id);
 #endif /* !G_OS_WIN32 */
@@ -567,9 +564,6 @@ on_application_shutdown (GApplication *application, gpointer user_data)
 {
     ET_Core_Destroy ();
     Charset_Insert_Locales_Destroy ();
-#ifdef G_OS_WIN32
-    weasytag_cleanup();
-#endif /* G_OS_WIN32 */
 }
 
 /********
@@ -586,10 +580,7 @@ int main (int argc, char *argv[])
     textdomain (GETTEXT_PACKAGE);
 #endif /* ENABLE_NLS */
 
-#ifdef G_OS_WIN32
-    weasytag_init();
-    /* ET_Win32_Init(hInstance); */
-#else /* !G_OS_WIN32 */
+#ifndef G_OS_WIN32
     /* Signal handling to display a message(SIGSEGV, ...) */
     setup_sigbus_fpe_segv ();
     /* Must handle this signal to avoid zombies of child processes (e.g. xmms)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]