changeset 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 4f5bd9a2da37
children 651830ba3720
files src/main.c
diffstat 1 files changed, 1 insertions(+), 6 deletions(-) [+]
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;