<p>In <a href="https://github.com/geany/geany-plugins/pull/448#discussion_r67194136">projectorganizer/src/prjorg-main.c</a>:</p>
<pre style='color:#555'>>      {
> -          gtk_notebook_remove_page(GTK_NOTEBOOK(notebook), page_index);
> -          page_index = -1;
> +          gtk_container_remove(GTK_CONTAINER(notebook), properties_tab);
</pre>
<p>you should probably simply destroy the widget, <code>gtk_widget_destroy(properties_tab)</code> (see <a href="https://developer.gnome.org/gtk3/stable/GtkContainer.html#gtk-container-remove"><code>gtk_container_remove()</code> docs</a>)</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany-plugins/pull/448/files/c65a560415657f39929223b8eb095ad9b6caad5c#r67194136">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe/ABDrJ_a3OOQeI0zsUj6z3jXDpaIWZRSsks5qMCT0gaJpZM4I2aIu">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ5mWvdzCgRRa0eMQDhGZbaUZgLLVks5qMCT0gaJpZM4I2aIu.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/geany/geany-plugins/pull/448/files/c65a560415657f39929223b8eb095ad9b6caad5c#r67194136"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>