[Spice-devel] [spice-gtk PATCH v1 1/3] glib-compat: add G_SOURCE_REMOVE G_SOURCE_CONTINUE

Victor Toso victortoso at redhat.com
Mon Apr 27 06:12:38 PDT 2015


---
 gtk/glib-compat.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gtk/glib-compat.h b/gtk/glib-compat.h
index 8828599..5491fe4 100644
--- a/gtk/glib-compat.h
+++ b/gtk/glib-compat.h
@@ -32,6 +32,10 @@ GType spice_main_context_get_type (void) G_GNUC_CONST;
 
 #if !GLIB_CHECK_VERSION(2,32,0)
 # define G_SIGNAL_DEPRECATED (1 << 9)
+
+#define G_SOURCE_CONTINUE   TRUE
+#define G_SOURCE_REMOVE     FALSE
+
 void
 g_queue_free_full (GQueue        *queue,
                    GDestroyNotify  free_func);
-- 
2.1.0



More information about the Spice-devel mailing list