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

Re: event propagate constants



Torsten Schoenfeld <kaffeetisch gmx de> writes:
>
> you forgot to add the patch that actually adds Glib::SOURCE_CONTINUE
> and SOURCE_REMOVE.

Ahh, yep, below.

Is exporting them with :constants ok?  Maybe they should start life
unexported so as not to risk any app name clashes, especially since
they're add-ons rather than actual Glib things.

--- Glib.pm	19 Oct 2008 11:25:17 +1100	1.127
+++ Glib.pm	19 Oct 2008 11:25:52 +1100	
@@ -36,6 +36,8 @@
 	G_PRIORITY_DEFAULT_IDLE =>  200,
 	G_PRIORITY_LOW	        =>  300,
 	G_PARAM_READWRITE       => [qw/readable writable/],
+	SOURCE_CONTINUE => 1,
+	SOURCE_REMOVE   => 0,
 };
 
 # export nothing by default.
@@ -50,6 +52,8 @@
 			G_PRIORITY_DEFAULT_IDLE
 			G_PRIORITY_LOW
 			G_PARAM_READWRITE
+                        SOURCE_CONTINUE
+                        SOURCE_REMOVE
 			/],
 	functions => [qw/
 			filename_to_unicode
@@ -549,6 +553,8 @@
   G_PRIORITY_DEFAULT_IDLE
   G_PRIORITY_LOW
   G_PARAM_READWRITE
+  SOURCE_CONTINUE
+  SOURCE_REMOVE
 
 =item Tag: functions
 


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