<p>In <a href="https://github.com/geany/geany/pull/406#discussion_r52834359">src/symbols.c</a>:</p>
<pre style='color:#555'>> +            default:
> +                  break;
> +  }
> +  return "classviewer-struct";
> +}
> +
> +
> +static void create_goto_popup(void)
> +{
> +  GtkWidget *frame, *scroller;
> +  GtkListStore *store;
> +  GtkTreeSelection *selection;
> +  GtkTreeViewColumn *column;
> +  GtkCellRenderer *renderer;
> +
> +  tag_goto_popup = g_object_new(GTK_TYPE_WINDOW, "type", GTK_WINDOW_TOPLEVEL, NULL);
</pre>
<p>note: the default constructor, <a href="https://developer.gnome.org/gtk2/stable/GtkWindow.html#gtk-window-new"><code>gtk_window_new()</code></a> has just those parameters, why not use it :)</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/geany/geany/pull/406/files#r52834359">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ_YKIOB8Pjgk1pfjJ2O-0zBIw2U9ks5pj6DUgaJpZM4DUzez.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/pull/406/files#r52834359"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>