<commit_before>/*
** main.c for edit-conf in /home/cardon_v/Documents/Tek-1/B02/Igraph/MUL_2013_raytracer/gtk
** 
** Made by <NAME>
** Login   <<EMAIL>>
** 
** Started on  Wed Jun  4 18:01:54 2014 <NAME>
** Last update Sun Jun  8 18:27:41 2014 Maxime
*/

#include	<stdlib.h>
#include	"header.h"

void		write_and_quit()
{
  write_object();
  gtk_main_quit();
}

void		*set_window()
{
  GtkWidget	*pwindow;

  pwindow = gtk_window_new(GTK_WINDOW_TOPLEVEL);
  gtk_window_set_position(GTK_WINDOW(pwindow), GTK_WIN_POS_CENTER);
  gtk_window_set_default_size(GTK_WINDOW(pwindow), 900, 400);
  gtk_window_set_title(GTK_WINDOW(pwindow), "Edit-conf");
  g_signal_connect(G_OBJECT(pwindow), "destroy",
		   G_CALLBACK(gtk_main_quit), NULL);
  return(pwindow);
}

int		main(int ac, char **av)
{
  GtkWidget	*pwindow;
  GtkWidget	*ptable;

  s_data.obj = NULL;
  s_data.x = NULL;
  s_data.y = NULL;
  s_data.z = NULL;
  s_data.size = NULL;
  s_data.rayon = NULL;
  s_data.angle = NULL;
  s_data.color = NULL;
  gtk_init(&ac, &av);
  pwindow = set_window();
  ptable = set_table(pwindow);
  set_entry(ptable);
  set_label(ptable);
  gtk_widget_show_all(pwindow);
  gtk_main();
  return (EXIT_SUCCESS);
}<commit_msg>main_editeur<commit_after>/*
** main.c for edit-conf in /home/cardon_v/Documents/Tek-1/B02/Igraph/MUL_2013_raytracer/gtk
** 
** Made by <NAME>
** Login   <<EMAIL>>
** 
** Started on  Wed Jun  4 18:01:54 2014 <NAME>
** Last update Sun Jun  8 19:56:18 2014 Maxime
*/

#include	<stdlib.h>
#include	"header.h"

void		write_and_quit()
{
  write_object();
  gtk_main_quit();
}

void		*set_window()
{
  GtkWidget	*pwindow;

  pwindow = gtk_window_new(GTK_WINDOW_TOPLEVEL);
  gtk_window_set_position(GTK_WINDOW(pwindow), GTK_WIN_POS_CENTER);
  gtk_window_set_default_size(GTK_WINDOW(pwindow), 900, 400);
  gtk_window_set_title(GTK_WINDOW(pwindow), "Edit-conf");
  g_signal_connect(G_OBJECT(pwindow), "destroy",
		   G_CALLBACK(gtk_main_quit), NULL);
  return(pwindow);
}

int		main(int ac, char **av)
{
  GtkWidget	*pwindow;
  GtkWidget	*ptable;

  s_data.obj = NULL;
  s_data.x = NULL;
  s_data.y = NULL;
  s_data.z = NULL;
  s_data.size = NULL;
  s_data.rayon = NULL;
  s_data.angle = NULL;
  s_data.color = NULL;
  s_data.rx = NULL;
  s_data.ry = NULL;
  s_data.rz = NULL;
  gtk_init(&ac, &av);
  pwindow = set_window();
  ptable = set_table(pwindow);
  set_entry(ptable);
  set_label(ptable);
  gtk_widget_show_all(pwindow);
  gtk_main();
  return (EXIT_SUCCESS);
}
{'fraction_non_alphanumeric': 0.14494518879415347, 'fraction_numerical': 0.028420625253755584, 'mean_word_length': 4.537078651685393, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4575002', 'n_tokens_mistral': 1151, 'n_tokens_neox': 1065, 'n_words': 186}