> + 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);
note: the default constructor, [`gtk_window_new()`](https://developer.gnome.org/gtk2/stable/GtkWindow.html#gtk-window-new) has just those parameters, why not use it :) --- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/pull/406/files#r52834359