diff src/about.c @ 4162:d3c8d2b40494

[gaim-migrate @ 4391] gtk_signal_connect() to g_signal_connect() Everything seems fine, and nothing should be broken. However, please let me know if anything strange happens. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Tue, 31 Dec 2002 19:32:38 +0000
parents fcc6db86f5c7
children 1817f5d16e83
line wrap: on
line diff
--- a/src/about.c	Tue Dec 31 18:21:32 2002 +0000
+++ b/src/about.c	Tue Dec 31 19:32:38 2002 +0000
@@ -173,10 +173,10 @@
 		button = gaim_pixbuf_button_from_stock(_("Close"), GTK_STOCK_CLOSE, GAIM_BUTTON_HORIZONTAL);
 		gtk_box_pack_end(GTK_BOX(hbox), button, FALSE, FALSE, 0);
 
-		gtk_signal_connect_object(GTK_OBJECT(button), "clicked",
-					  GTK_SIGNAL_FUNC(destroy_about), GTK_OBJECT(about));
-		gtk_signal_connect(GTK_OBJECT(about), "destroy",
-					   GTK_SIGNAL_FUNC(destroy_about), GTK_OBJECT(about));
+		g_signal_connect_swapped(G_OBJECT(button), "clicked",
+								 G_CALLBACK(destroy_about), G_OBJECT(about));
+		g_signal_connect(G_OBJECT(about), "destroy",
+						 G_CALLBACK(destroy_about), G_OBJECT(about));
 		gtk_widget_show(button);
 
 		/* this makes the sizes not work. */