[empathy: 1/18] empathy-call: call gdk_disable_multidevice()



commit c5426c1a22ed0f16bd742bda88fb8a6740f2c9ee
Author: Emilio Pozuelo Monfort <emilio pozuelo collabora co uk>
Date:   Tue Aug 9 10:54:16 2011 +0100

    empathy-call: call gdk_disable_multidevice()
    
    Clutter needs this, and gtk_clutter_init() calls it, but
    g_option_context_parse() initializes GTK+ when parsing
    GTK+ options so it's too late for us then.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=656268

 src/empathy-call.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/empathy-call.c b/src/empathy-call.c
index 7503532..4adf5f4 100644
--- a/src/empathy-call.c
+++ b/src/empathy-call.c
@@ -121,6 +121,9 @@ main (int argc,
   /* Init */
   g_thread_init (NULL);
 
+  /* Clutter needs this */
+  gdk_disable_multidevice ();
+
   optcontext = g_option_context_new (N_("- Empathy Audio/Video Client"));
   g_option_context_add_group (optcontext, gst_init_get_option_group ());
   g_option_context_add_group (optcontext, gtk_get_option_group (TRUE));



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