+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);
- gtk_widget_set_can_focus(tag_goto_popup, TRUE);
- gtk_window_set_type_hint(GTK_WINDOW(tag_goto_popup), GDK_WINDOW_TYPE_HINT_DIALOG);
- gtk_window_set_decorated(GTK_WINDOW(tag_goto_popup), FALSE);
- gtk_window_set_transient_for(GTK_WINDOW(tag_goto_popup), GTK_WINDOW(main_widgets.window));
- gtk_window_set_destroy_with_parent(GTK_WINDOW(tag_goto_popup), TRUE);
- gtk_window_set_position(GTK_WINDOW(tag_goto_popup), GTK_WIN_POS_CENTER_ON_PARENT);
…or at least pass some of those as gobject construction props
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/pull/406/files#r52834373
github-comments@lists.geany.org