summaryrefslogtreecommitdiffstats
path: root/packages/vala/files/0002-glib-2.0-bind-g_io_channel_add_watch_full.patch
blob: de03f288bc8f515ef9db4d7b92e8fefd0150024d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From ec0865757033416b3ca1d4d046c4308d59aadf85 Mon Sep 17 00:00:00 2001
From: Michael 'Mickey' Lauer <mickey@vanille-media.de>
Date: Thu, 19 Feb 2009 17:52:10 +0100
Subject: [PATCH] glib-2.0: bind g_io_channel_add_watch_full

Signed-Off: Michael 'Mickey' Lauer <mlauer@vanille-media.de>
---
 vapi/glib-2.0.vapi |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index 26b73e7..24c3c93 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -1443,6 +1443,8 @@ namespace GLib {
 		public GLib.Source create_watch (IOCondition condition);
 		[CCode (cname = "g_io_add_watch")]
 		public uint add_watch (IOCondition condition, IOFunc func);
+		[CCode (cname = "g_io_add_watch_full")]
+		public uint add_watch_full (int priority, IOCondition condition, IOFunc func, DestroyNotify? notify);
 		public size_t get_buffer_size ();
 		public void set_buffer_size (size_t size);
 		public IOCondition get_buffer_condition ();
-- 
1.6.0.2