diff src/sound.c @ 2370:25e7c2a68ed2

[gaim-migrate @ 2383] moving gtk out of perl and sound. i don't know why i'm moving it out of sound though. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Thu, 27 Sep 2001 09:20:47 +0000
parents a654354eee8b
children 2927c2c26fe6
line wrap: on
line diff
--- a/src/sound.c	Thu Sep 27 09:02:07 2001 +0000
+++ b/src/sound.c	Thu Sep 27 09:20:47 2001 +0000
@@ -27,7 +27,6 @@
 #include <string.h>
 #include <sys/time.h>
 #include <unistd.h>
-#include <gtk/gtk.h>
 #include <fcntl.h>
 #include <sys/wait.h>
 #include <unistd.h>
@@ -427,7 +426,7 @@
 
 		_exit(0);
 	} else {
-		gtk_timeout_add(100, (GtkFunction)clean_pid, NULL);
+		g_timeout_add(100, clean_pid, NULL);
 	}
 }
 
@@ -481,7 +480,7 @@
 
 		_exit(0);
 	} else {
-		gtk_timeout_add(100, (GtkFunction)clean_pid, NULL);
+		g_timeout_add(100, clean_pid, NULL);
 	}
 }