Hi,
diff -Naur e:\dll\iup\a\src\gtk/iupgtk_canvas.c
e:\dll\iup\b\src\gtk/iupgtk_canvas.c
--- e:\dll\iup\a\src\gtk/iupgtk_canvas.c 2019-12-11 17:07:39.000000000 -0300
+++ e:\dll\iup\b\src\gtk/iupgtk_canvas.c 2020-01-04 16:25:46.094231300 -0300
@@ -142,7 +142,7 @@
}
else
{
- IFnff cb = (IFnff)IupGetCallback(ih,"ACTION");
+ cb = (IFnff)IupGetCallback(ih,"ACTION");
* Can not do that. Those cb are of different type. I changed the name to
avoid the warning.*
diff -Naur e:\dll\iup\a\src\gtk/iupgtk_list.c
e:\dll\iup\b\src\gtk/iupgtk_list.c
--- e:\dll\iup\a\src\gtk/iupgtk_list.c 2019-07-25 16:54:54.000000000 -0300
+++ e:\dll\iup\b\src\gtk/iupgtk_list.c 2020-01-04 16:32:32.895334400 -0300
@@ -591,7 +591,7 @@
return 0;
entry = (GtkEntry*)iupAttribGet(ih, "_IUPGTK_ENTRY");
- if (!value || iupStrEqualNoCase(value, "NONE"))
+ if (iupStrEqualNoCase(value, "NONE"))
{
gtk_editable_select_region(GTK_EDITABLE(entry), 0, 0);
return 0;
* Can not do that. If value is NULL then it is not NONE and it will enter
that if, what is wrong is the "if (!value) return 0;" before that.*
Fixed other warnings too.
Thanks for reporting.
Best,
Scuri
Em sáb., 4 de jan. de 2020 às 13:40, Ranier Vilela <[email protected]>
escreveu:
> Hi,
> Some minor fixes in iup_gtk.
>
> regards,
> Ranier Vilela_______________________________________________
> Iup-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/iup-users
>
_______________________________________________
Iup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users