rem: if ( !( strlen ( g_strstrip ( gtk_entry_get_text ( GTK_ENTRY ( entree ))))
add: if ( !( strlen ( g_strstrip ( (gchar *) gtk_entry_get_text ( GTK_ENTRY ( entree ))))
context: void clique_sur_entree_date_etat ( GtkWidget *entree,				   GdkEventButton *ev ){  if ( ev->type == GDK_2BUTTON_PRESS )    {      GtkWidget *popup;      GtkWidget *popup_boxv;      GtkRequisition *taille_entree;      gint x, y;      GtkWidget *calendrier;      int cal_jour, cal_mois, cal_annee;      GtkWidget *bouton;      GtkWidget *frame;      /* cherche la position o l'on va mettre la popup */      taille_entree = malloc ( sizeof ( GtkRequisition ));      gdk_window_get_origin ( GTK_WIDGET ( entree ) -> window,			      &x,			      &y );      gtk_widget_size_request ( GTK_WIDGET ( entree ),				taille_entree );        y = y + taille_entree->height;      /* cration de la popup */      popup = gtk_window_new ( GTK_WINDOW_POPUP );      gtk_window_set_modal ( GTK_WINDOW (popup),			     TRUE);      gtk_widget_set_uposition ( GTK_WIDGET ( popup ),				 x,				 y );      /* on associe l'entre qui sera remplie  la popup */      gtk_object_set_data ( GTK_OBJECT ( popup ),			    "entree",			    entree );      /* cration de l'intrieur de la popup */      frame = gtk_frame_new ( NULL );      gtk_container_add ( GTK_CONTAINER (popup),			  frame);      gtk_widget_show ( frame );      popup_boxv = gtk_vbox_new ( FALSE,				  5 );      gtk_container_set_border_width ( GTK_CONTAINER ( popup_boxv ),				       5 );      gtk_container_add ( GTK_CONTAINER ( frame ),			  popup_boxv);      gtk_widget_show ( popup_boxv );      if ( !( strlen ( g_strstrip ( gtk_entry_get_text ( GTK_ENTRY ( entree ))))	      &&	      sscanf ( gtk_entry_get_text ( GTK_ENTRY ( entree )),		       "%d/%d/%d",		       &cal_jour,		       &cal_mois,		       &cal_annee)))	sscanf ( date_jour(),		 "%d/%d/%d",		 &cal_jour,		 &cal_mois,		 &cal_annee);            calendrier = gtk_calendar_new();      gtk_calendar_select_month ( GTK_CALENDAR ( calendrier ),				  cal_mois-1,				  cal_annee);      gtk_calendar_select_day  ( GTK_CALENDAR ( calendrier ),				 cal_jour);      gtk_calendar_display_options ( GTK_CALENDAR ( calendrier ),				     GTK_CALENDAR_SHOW_HEADING |				     GTK_CALENDAR_SHOW_DAY_NAMES |				     GTK_CALENDAR_WEEK_START_MONDAY );      gtk_signal_connect ( GTK_OBJECT ( calendrier),			   "day_selected_double_click",			   GTK_SIGNAL_FUNC ( date_selectionnee_etat ),			   popup );      gtk_signal_connect ( GTK_OBJECT ( popup ),			   "key_press_event",			   GTK_SIGNAL_FUNC ( touche_calendrier ),			   NULL );      gtk_signal_connect_object ( GTK_OBJECT ( popup ),				  "destroy",				  GTK_SIGNAL_FUNC ( gdk_pointer_ungrab ),				  GDK_CURRENT_TIME );      gtk_box_pack_start ( GTK_BOX ( popup_boxv ),			   calendrier,			   TRUE,			   TRUE,			   0 );      gtk_widget_show ( calendrier );      /* ajoute le bouton annuler */      bouton = gtk_button_new_with_label ( _("Cancel") );      gtk_signal_connect_object ( GTK_OBJECT ( bouton ),				  "clicked",				  GTK_SIGNAL_FUNC ( gtk_widget_destroy ),				  GTK_OBJECT ( popup ));      gtk_box_pack_start ( GTK_BOX ( popup_boxv ),			   bouton,			   TRUE,			   TRUE,			   0 );      gtk_widget_show ( bouton );      gtk_widget_show (popup);            gdk_pointer_grab ( popup -> window, 			 TRUE,			 GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK |			 GDK_ENTER_NOTIFY_MASK | GDK_LEAVE_NOTIFY_MASK |			 GDK_POINTER_MOTION_MASK,			 NULL, 			 NULL, 			 GDK_CURRENT_TIME );      gtk_widget_grab_focus ( GTK_WIDGET ( popup ));    }}