@eht16 commented on this pull request.


> @@ -265,11 +264,9 @@ void tpage_pack_widgets(gboolean tabbed)
 
        if (oldroot)
        {
-               int i = 0;
-               while (widgets[i])
+               for (int i = 0; widgets[i]; i++)
                {
                        g_object_unref(*widgets[i]);

It is.
Only `gtk_container_remove(GTK_CONTAINER(gtk_widget_get_parent(*widgets[i])), 
*widgets[i]);` was problematic, I'm not sure why only here.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/1017#discussion_r511350293

Reply via email to