Fixed small bug.

1998-12-16  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* giounix.c (g_io_channel_unix_get_fd): Fixed small bug.
This commit is contained in:
Sebastian Wilhelmi 1998-12-16 14:57:42 +00:00 committed by Sebastian Wilhelmi
parent 053793d72a
commit 3e01bbaafb
10 changed files with 34 additions and 2 deletions

View File

@ -1,3 +1,7 @@
1998-12-16 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* giounix.c (g_io_channel_unix_get_fd): Fixed small bug.
1998-12-16 Joel Becker <jlbec@ocala.cs.miami.edu>
* glib.h, gscanner.c: changed func_data to user_data in

View File

@ -1,3 +1,7 @@
1998-12-16 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* giounix.c (g_io_channel_unix_get_fd): Fixed small bug.
1998-12-16 Joel Becker <jlbec@ocala.cs.miami.edu>
* glib.h, gscanner.c: changed func_data to user_data in

View File

@ -1,3 +1,7 @@
1998-12-16 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* giounix.c (g_io_channel_unix_get_fd): Fixed small bug.
1998-12-16 Joel Becker <jlbec@ocala.cs.miami.edu>
* glib.h, gscanner.c: changed func_data to user_data in

View File

@ -1,3 +1,7 @@
1998-12-16 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* giounix.c (g_io_channel_unix_get_fd): Fixed small bug.
1998-12-16 Joel Becker <jlbec@ocala.cs.miami.edu>
* glib.h, gscanner.c: changed func_data to user_data in

View File

@ -1,3 +1,7 @@
1998-12-16 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* giounix.c (g_io_channel_unix_get_fd): Fixed small bug.
1998-12-16 Joel Becker <jlbec@ocala.cs.miami.edu>
* glib.h, gscanner.c: changed func_data to user_data in

View File

@ -1,3 +1,7 @@
1998-12-16 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* giounix.c (g_io_channel_unix_get_fd): Fixed small bug.
1998-12-16 Joel Becker <jlbec@ocala.cs.miami.edu>
* glib.h, gscanner.c: changed func_data to user_data in

View File

@ -1,3 +1,7 @@
1998-12-16 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* giounix.c (g_io_channel_unix_get_fd): Fixed small bug.
1998-12-16 Joel Becker <jlbec@ocala.cs.miami.edu>
* glib.h, gscanner.c: changed func_data to user_data in

View File

@ -1,3 +1,7 @@
1998-12-16 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* giounix.c (g_io_channel_unix_get_fd): Fixed small bug.
1998-12-16 Joel Becker <jlbec@ocala.cs.miami.edu>
* glib.h, gscanner.c: changed func_data to user_data in

View File

@ -297,6 +297,6 @@ g_io_channel_unix_new (gint fd)
gint
g_io_channel_unix_get_fd (GIOChannel *channel)
{
GIOUnixChannel *unix_channel = g_new (GIOUnixChannel, 1);
GIOUnixChannel *unix_channel = (GIOUnixChannel *)channel;
return unix_channel->fd;
}

View File

@ -297,6 +297,6 @@ g_io_channel_unix_new (gint fd)
gint
g_io_channel_unix_get_fd (GIOChannel *channel)
{
GIOUnixChannel *unix_channel = g_new (GIOUnixChannel, 1);
GIOUnixChannel *unix_channel = (GIOUnixChannel *)channel;
return unix_channel->fd;
}