linphone-developers
[Top][All Lists]
Advanced

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

[Linphone-developers] Bug for Linphone windows build?


From: 3g 2sip
Subject: [Linphone-developers] Bug for Linphone windows build?
Date: Thu, 19 Mar 2009 13:19:37 +0800

Hello,everyone,
I built Linphone 3.1.0 for windows platform, when building gtk-glade/linphone.dev, here has one compile error in the following function, it shows the id should be one pointer.
 
static gboolean linphone_gtk_iterate(LinphoneCore *lc){
 unsigned long id;
 static unsigned long previd=0;
 linphone_core_iterate(lc);
 id=linphone_core_get_native_video_window_id(lc);
 if (id!=previd){
  ms_message("Updating window decorations");
  GdkWindow *w;
  previd=id;
  if (id!=0){
   w=gdk_window_foreign_new(id);    // build error at here
   if (w) {
    set_video_window_decorations(w);
    g_object_unref(G_OBJECT(w));
   }
   else ms_error("gdk_window_foreign_new() failed");
  }
 }
 return TRUE;
}
After changed the bold part from    w=gdk_window_foreign_new(id);  to   w=gdk_window_foreign_new(&id); , the build passes.
 
My concern is: the change is right? or here has another solution?
 
Thanks
Mark
 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]