diff src/main.c @ 4880:9b51c090236a

[gaim-migrate @ 5210] removed wgaim_created_loginwin committer: Tailor Script <tailor@pidgin.im>
author Herman Bloggs <hermanator12002@yahoo.com>
date Mon, 24 Mar 2003 18:27:00 +0000
parents 4af15fbcb00a
children ec3830b344f2
line wrap: on
line diff
--- a/src/main.c	Mon Mar 24 18:25:40 2003 +0000
+++ b/src/main.c	Mon Mar 24 18:27:00 2003 +0000
@@ -276,7 +276,7 @@
 static void login_window_closed(GtkWidget *w, GdkEvent *ev, gpointer d)
 {
 	if(docklet_count) {
-#if _WIN32
+#ifdef _WIN32
 		wgaim_systray_minimize(mainwindow);
 #endif
 		gtk_widget_hide(mainwindow);
@@ -385,11 +385,6 @@
 	g_signal_connect(G_OBJECT(button), "button-press-event", G_CALLBACK(domiddleclick), NULL);
 	gtk_box_pack_start(GTK_BOX(hbox), button, FALSE, FALSE, 0);
 
-#ifdef _WIN32
-	/* Register newly created window with systray module */
-	wgaim_created_loginwin(GTK_WIDGET(mainwindow));
-#endif
-
 	/* Now grab the focus that we need */
 	if (gaim_accounts) {
 		struct gaim_account *account = gaim_accounts->data;