1 --- f-spot-0.4.0.orig/dbus-sharp-glib/GLib.IO.cs
2 +++ f-spot-0.4.0/dbus-sharp-glib/GLib.IO.cs
7 - //static extern int g_io_channel_unix_get_fd (IntPtr channel);
8 - static extern int g_io_channel_unix_get_fd (IOChannel channel);
9 + static extern int g_io_channel_unix_get_fd (IntPtr channel);
14 - //return g_io_channel_unix_get_fd (Handle);
15 - return g_io_channel_unix_get_fd (this);
16 + return g_io_channel_unix_get_fd (Handle);
24 - public static extern uint g_io_channel_get_buffer_size (IOChannel channel);
25 + public static extern uint g_io_channel_get_buffer_size (IntPtr channel);
28 - public static extern void g_io_channel_set_buffer_size (IOChannel channel, uint size);
29 + public static extern void g_io_channel_set_buffer_size (IntPtr channel, uint size);
31 public uint BufferSize
34 - return g_io_channel_get_buffer_size (this);
35 + return g_io_channel_get_buffer_size (Handle);
37 - g_io_channel_set_buffer_size (this, value);
38 + g_io_channel_set_buffer_size (Handle, value);
43 - public static extern IOCondition g_io_channel_get_buffer_condition (IOChannel channel);
44 + public static extern IOCondition g_io_channel_get_buffer_condition (IntPtr channel);
46 public IOCondition BufferCondition
49 - return g_io_channel_get_buffer_condition (this);
50 + return g_io_channel_get_buffer_condition (Handle);
55 - public static extern IOFlags g_io_channel_get_flags (IOChannel channel);
56 + public static extern IOFlags g_io_channel_get_flags (IntPtr channel);
59 - static extern short g_io_channel_set_flags (IOChannel channel, IOFlags flags, IntPtr error);
60 + static extern short g_io_channel_set_flags (IntPtr channel, IOFlags flags, IntPtr error);
65 - return g_io_channel_get_flags (this);
66 + return g_io_channel_get_flags (Handle);
68 //TODO: fix return and error
69 - g_io_channel_set_flags (this, value, IntPtr.Zero);
70 + g_io_channel_set_flags (Handle, value, IntPtr.Zero);
75 Returns: the event source id.
78 - protected static extern uint g_io_add_watch (IOChannel channel, IOCondition condition, IOFunc func, IntPtr user_data);
79 + protected static extern uint g_io_add_watch (IntPtr channel, IOCondition condition, IOFunc func, IntPtr user_data);
81 public static uint AddWatch (IOChannel channel, IOCondition condition, IOFunc func)
85 - return g_io_add_watch (channel, condition, func, IntPtr.Zero);
86 + return g_io_add_watch (channel.Handle, condition, func, IntPtr.Zero);
91 Returns: the event source id.
94 - protected static extern uint g_io_add_watch_full (IOChannel channel, int priority, IOCondition condition, IOFunc func, IntPtr user_data, DestroyNotify notify);
95 + protected static extern uint g_io_add_watch_full (IntPtr channel, int priority, IOCondition condition, IOFunc func, IntPtr user_data, DestroyNotify notify);
97 public static uint AddWatch (IOChannel channel, int priority, IOCondition condition, IOFunc func, DestroyNotify notify)
102 - return g_io_add_watch_full (channel, priority, condition, func, IntPtr.Zero, notify);
103 + return g_io_add_watch_full (channel.Handle, priority, condition, func, IntPtr.Zero, notify);