]> sjero.net Git - linphone/commitdiff
fix warning in gtk app
authorSimon Morlat <simon.morlat@linphone.org>
Thu, 6 Jun 2013 09:12:17 +0000 (11:12 +0200)
committerSimon Morlat <simon.morlat@linphone.org>
Thu, 6 Jun 2013 09:12:17 +0000 (11:12 +0200)
gtk/main.c

index e914e42bd5e9016ea6a70af956c351a522688175..1aa2e287c5c2fc6931804ae1608cb48345cb797e 100644 (file)
@@ -568,7 +568,7 @@ static gboolean linphone_gtk_iterate(LinphoneCore *lc){
                if (id!=0){
                        ms_message("Updating window decorations");
 #ifndef WIN32
-                       w=gdk_window_foreign_new(id);
+                       w=gdk_window_foreign_new((GdkNativeWindow)id);
 #else
                        w=gdk_window_foreign_new((HANDLE)id);
 #endif
@@ -587,7 +587,7 @@ static gboolean linphone_gtk_iterate(LinphoneCore *lc){
                if (id!=0){
                        ms_message("Updating window decorations for preview");
 #ifndef WIN32
-                       w=gdk_window_foreign_new(id);
+                       w=gdk_window_foreign_new((GdkNativeWindow)id);
 #else
                        w=gdk_window_foreign_new((HANDLE)id);
 #endif