diff src/win32/win32dep.c @ 6083:65fad4831077

[gaim-migrate @ 6542] Moved systray code to docklet plugin. committer: Tailor Script <tailor@pidgin.im>
author Herman Bloggs <hermanator12002@yahoo.com>
date Thu, 10 Jul 2003 23:45:46 +0000
parents 9657e243d001
children 4fcfe659568a
line wrap: on
line diff
--- a/src/win32/win32dep.c	Thu Jul 10 23:42:50 2003 +0000
+++ b/src/win32/win32dep.c	Thu Jul 10 23:45:46 2003 +0000
@@ -37,7 +37,6 @@
 #include "stdafx.h"
 #include "resource.h"
 #include "MinimizeToTray.h"
-#include "systray.h"
 #include "winuser_extra.h"
 #include "idletrack.h"
 #include "zlib.h"
@@ -322,6 +321,16 @@
 	}
 }
 
+/* Moved over from old systray.c */
+void wgaim_systray_minimize( GtkWidget *window ) {
+	MinimizeWndToTray(GDK_WINDOW_HWND(window->window));
+}
+
+void wgaim_systray_maximize( GtkWidget *window ) {
+	RestoreWndFromTray(GDK_WINDOW_HWND(window->window));
+}
+
+
 /* Windows Initializations */
 
 void wgaim_init(void) {
@@ -340,9 +349,6 @@
 
 	load_winver_specific_procs();
 
-	/* Initialize Wingaim systray icon */
-	wgaim_systray_init();
-
 	/*
 	 *  Winsock init
 	 */
@@ -399,9 +405,6 @@
 
 	/* Idle tracker cleanup */
 	wgaim_remove_idlehooks();
-	
-	/* Remove systray icon */
-	wgaim_systray_cleanup();
 }
 
 /* DLL initializer */