Patch For Approval



Just a small one to remove a hard coded value.

-JP

-- 
--
=======================================================================
JP Rosevear                             jpr helixcode com
Helix Code Inc.                         http://www.helixcode.com
? glib.patch
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/glib/ChangeLog,v
retrieving revision 1.257.2.89
diff -u -r1.257.2.89 ChangeLog
--- ChangeLog	2001/01/02 21:02:08	1.257.2.89
+++ ChangeLog	2001/01/10 21:43:21
@@ -1,3 +1,8 @@
+2001-01-09  JP Rosevear  <jpr helixcode com>
+
+	* giochannel.c (g_io_add_watch): Use G_PRIORITY_DEFAULT rather than
+	hardcoding 0 as the paramater to g_io_add_watch_full
+
 2001-01-02  Dan Winship  <danw helixcode com>
 
 	* garray.h (g_array_append_val, g_array_prepend_val,
Index: giochannel.c
===================================================================
RCS file: /cvs/gnome/glib/giochannel.c,v
retrieving revision 1.6
diff -u -r1.6 giochannel.c
--- giochannel.c	1999/02/24 06:13:37	1.6
+++ giochannel.c	2001/01/10 21:43:21
@@ -124,5 +124,6 @@
 		GIOFunc        func,
 		gpointer       user_data)
 {
-  return g_io_add_watch_full (channel, 0, condition, func, user_data, NULL);
+  return g_io_add_watch_full (channel, G_PRIORITY_DEFAULT, condition, 
+			      func, user_data, NULL);
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]